Package org.apache.myfaces.util
Class CommentUtils
- java.lang.Object
-
- org.apache.myfaces.util.CommentUtils
-
public class CommentUtils extends Object
This class contains utility methods to detect special cases to be handled on "script" or "style" tags by HtmlResponseWriterImpl.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CDATA_SIMPLE_END
static String
CDATA_SIMPLE_START
static String
COMMENT_SIMPLE_END
static String
COMMENT_SIMPLE_START
static String
END_SCRIPT_COMMENT
static String
INLINE_SCRIPT_COMMENT
static String
START_SCRIPT_COMMENT
-
Constructor Summary
Constructors Constructor Description CommentUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isEndMatchtWithInlineCommentedXmlCommentTag(String trimmedContent)
static boolean
isEndMatchWithCommentedCDATA(String trimmedContent)
static boolean
isEndMatchWithInlineCommentedCDATA(String trimmedContent)
static boolean
isStartMatchWithCommentedCDATA(String trimmedContent)
static boolean
isStartMatchWithInlineCommentedCDATA(String trimmedContent)
-
-
-
Field Detail
-
INLINE_SCRIPT_COMMENT
public static final String INLINE_SCRIPT_COMMENT
- See Also:
- Constant Field Values
-
START_SCRIPT_COMMENT
public static final String START_SCRIPT_COMMENT
- See Also:
- Constant Field Values
-
END_SCRIPT_COMMENT
public static final String END_SCRIPT_COMMENT
- See Also:
- Constant Field Values
-
CDATA_SIMPLE_START
public static final String CDATA_SIMPLE_START
- See Also:
- Constant Field Values
-
CDATA_SIMPLE_END
public static final String CDATA_SIMPLE_END
- See Also:
- Constant Field Values
-
COMMENT_SIMPLE_START
public static final String COMMENT_SIMPLE_START
- See Also:
- Constant Field Values
-
COMMENT_SIMPLE_END
public static final String COMMENT_SIMPLE_END
- See Also:
- Constant Field Values
-
-
Method Detail
-
isStartMatchWithCommentedCDATA
public static boolean isStartMatchWithCommentedCDATA(String trimmedContent)
-
isEndMatchWithCommentedCDATA
public static boolean isEndMatchWithCommentedCDATA(String trimmedContent)
-
isEndMatchtWithInlineCommentedXmlCommentTag
public static boolean isEndMatchtWithInlineCommentedXmlCommentTag(String trimmedContent)
-
isStartMatchWithInlineCommentedCDATA
public static boolean isStartMatchWithInlineCommentedCDATA(String trimmedContent)
-
isEndMatchWithInlineCommentedCDATA
public static boolean isEndMatchWithInlineCommentedCDATA(String trimmedContent)
-
-