Package com.day.cq.wcm.designimporter
Class ErrorCodes
- java.lang.Object
-
- com.day.cq.wcm.designimporter.ErrorCodes
-
public class ErrorCodes extends java.lang.Object
This file contains all the error codes for design importer component.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ABSOLUTE_URL_NOT_SUPPORTED
Error code representing presence of an absolute url inside of an image component div tag.static java.lang.String
FLOATING_TEXT_SINGLE_IMG_IMAGE
Error code representing presence of stray text inside of an image component div tag.static java.lang.String
FREE_FLOATING_TEXT_LINK_TAG
Error code representing presence of free floating text within a link tag.static java.lang.String
FREE_FLOATING_TEXT_SCRIPT_TAG
Error code representing presence of free floating text within a script tag with src attribute defined.static java.lang.String
MULTIPLE_DIV_TAGS
Error code representing presence of multiple canvas div tags.static java.lang.String
NESTED_CANVAS_COMPONENT
Error code representing presence of canvas div tag nested within another canvas div tag.static java.lang.String
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.static java.lang.String
PARSYS_NESTED_TAG
Error code representing stray html content within a parsys component div tag.static java.lang.String
SINGLE_IMG_IMAGE
Error code representing presence of stray html tag inside of an image component div tag.static java.lang.String
TITLE_COMPONENT_ONE_HEADING_TAG
Error code representing presence of multiple heading tags within the title component div tag.static java.lang.String
TITLE_COMPONENT_UNKNOWN_TAG
Error code representing nested tags, other than the heading tags, inside of the title component div tagstatic java.lang.String
TITLE_EXACTLY_ONE_HEADING_TAG
Error code representing non-conformance of title component div tag.
-
Constructor Summary
Constructors Constructor Description ErrorCodes()
-
-
-
Field Detail
-
MULTIPLE_DIV_TAGS
public static final java.lang.String MULTIPLE_DIV_TAGS
Error code representing presence of multiple canvas div tags. Only one canvas div tag per HTML is allowed.- See Also:
- Constant Field Values
-
PARSYS_NESTED_TAG
public static final java.lang.String 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:
- Constant Field Values
-
NESTED_CANVAS_COMPONENT
public static final java.lang.String 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:
- Constant Field Values
-
SINGLE_IMG_IMAGE
public static final java.lang.String 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:
- Constant Field Values
-
FLOATING_TEXT_SINGLE_IMG_IMAGE
public static final java.lang.String 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:
- Constant Field Values
-
ABSOLUTE_URL_NOT_SUPPORTED
public static final java.lang.String 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:
- Constant Field Values
-
FREE_FLOATING_TEXT_LINK_TAG
public static final java.lang.String FREE_FLOATING_TEXT_LINK_TAG
Error code representing presence of free floating text within a link tag.- See Also:
- Constant Field Values
-
FREE_FLOATING_TEXT_SCRIPT_TAG
public static final java.lang.String 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:
- Constant Field Values
-
NESTED_COMPONENT_DIV_TAG_ENCOUNTERED_INSIDE_TEXT_COMPONENT_DIV_TAG
public static final java.lang.String 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:
- Constant Field Values
-
TITLE_EXACTLY_ONE_HEADING_TAG
public static final java.lang.String 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:
- Constant Field Values
-
TITLE_COMPONENT_UNKNOWN_TAG
public static final java.lang.String TITLE_COMPONENT_UNKNOWN_TAG
Error code representing nested tags, other than the heading tags, inside of the title component div tag- See Also:
- Constant Field Values
-
TITLE_COMPONENT_ONE_HEADING_TAG
public static final java.lang.String 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:
- Constant Field Values
-
-