Package com.day.cq.wcm.designimporter
Class ErrorCodes
java.lang.Object
com.day.cq.wcm.designimporter.ErrorCodes
This file contains all the error codes for design importer component.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringError code representing presence of an absolute url inside of an image component div tag.static final StringError code representing presence of stray text inside of an image component div tag.static final StringError code representing presence of free floating text within a link tag.static final StringError code representing presence of free floating text within a script tag with src attribute defined.static final StringError code representing presence of multiple canvas div tags.static final StringError code representing presence of canvas div tag nested within another canvas div tag.static final StringError code representing presence of a component div tag nested within a text component div tag.static final StringError code representing stray html content within a parsys component div tag.static final StringError code representing presence of stray html tag inside of an image component div tag.static final StringError code representing presence of multiple heading tags within the title component div tag.static final StringError code representing nested tags, other than the heading tags, inside of the title component div tagstatic final StringError code representing non-conformance of title component div tag. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MULTIPLE_DIV_TAGS
Error code representing presence of multiple canvas div tags. Only one canvas div tag per HTML is allowed.- See Also:
-
PARSYS_NESTED_TAG
Error code representing stray html content within a parsys component div tag. A parsys component div tag must only contain nested component div tags, nothing else.- See Also:
-
NESTED_CANVAS_COMPONENT
Error code representing presence of canvas div tag nested within another canvas div tag. Only one canvas div tag is supported.- See Also:
-
SINGLE_IMG_IMAGE
Error code representing presence of stray html tag inside of an image component div tag. The image component div tag must only contain a valid img tag.- See Also:
-
FLOATING_TEXT_SINGLE_IMG_IMAGE
Error code representing presence of stray text inside of an image component div tag. The image component div tag must only contain a valid img tag.- See Also:
-
ABSOLUTE_URL_NOT_SUPPORTED
Error code representing presence of an absolute url inside of an image component div tag. Only relative images are supported.- See Also:
-
FREE_FLOATING_TEXT_LINK_TAG
Error code representing presence of free floating text within a link tag.- See Also:
-
FREE_FLOATING_TEXT_SCRIPT_TAG
Error code representing presence of free floating text within a script tag with src attribute defined. Note that inline scripts are supported, just the src attribute should be omitted.- See Also:
-
NESTED_COMPONENT_DIV_TAG_ENCOUNTERED_INSIDE_TEXT_COMPONENT_DIV_TAG
Error code representing presence of a component div tag nested within a text component div tag. The text component div tag only supports free floating text, markup or a mix of those two.- See Also:
-
TITLE_EXACTLY_ONE_HEADING_TAG
Error code representing non-conformance of title component div tag. The title component div tag must contain exactly one heading tag and no free floating text- See Also:
-
TITLE_COMPONENT_UNKNOWN_TAG
Error code representing nested tags, other than the heading tags, inside of the title component div tag- See Also:
-
TITLE_COMPONENT_ONE_HEADING_TAG
Error code representing presence of multiple heading tags within the title component div tag. The title component div tag must contain exactly one heading tag.- See Also:
-
-
Constructor Details
-
ErrorCodes
public ErrorCodes()
-