org.apache.myfaces.shared.util
Class CommentUtils

java.lang.Object
  extended by org.apache.myfaces.shared.util.CommentUtils

public class CommentUtils
extends java.lang.Object

This class contains utility methods to detect special cases to be handled on "script" or "style" tags by HtmlResponseWriterImpl.

Version:
$Revision: 937069 $ $Date: 2010-04-22 16:19:29 -0500 (Jue, 22 Abr 2010) $
Author:
Leonardo Uribe (latest modification by $Author: jakobk $)

Field Summary
static java.lang.String CDATA_SIMPLE_END
           
static java.lang.String CDATA_SIMPLE_START
           
static java.lang.String COMMENT_SIMPLE_END
           
static java.lang.String COMMENT_SIMPLE_START
           
static java.lang.String END_SCRIPT_COMMENT
           
static java.lang.String INLINE_SCRIPT_COMMENT
           
static java.lang.String START_SCRIPT_COMMENT
           
 
Constructor Summary
CommentUtils()
           
 
Method Summary
static boolean isEndMatchtWithInlineCommentedXmlCommentTag(java.lang.String trimmedContent)
           
static boolean isEndMatchWithCommentedCDATA(java.lang.String trimmedContent)
           
static boolean isEndMatchWithInlineCommentedCDATA(java.lang.String trimmedContent)
           
static boolean isStartMatchWithCommentedCDATA(java.lang.String trimmedContent)
           
static boolean isStartMatchWithInlineCommentedCDATA(java.lang.String trimmedContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INLINE_SCRIPT_COMMENT

public static final java.lang.String INLINE_SCRIPT_COMMENT
See Also:
Constant Field Values

START_SCRIPT_COMMENT

public static final java.lang.String START_SCRIPT_COMMENT
See Also:
Constant Field Values

END_SCRIPT_COMMENT

public static final java.lang.String END_SCRIPT_COMMENT
See Also:
Constant Field Values

CDATA_SIMPLE_START

public static final java.lang.String CDATA_SIMPLE_START
See Also:
Constant Field Values

CDATA_SIMPLE_END

public static final java.lang.String CDATA_SIMPLE_END
See Also:
Constant Field Values

COMMENT_SIMPLE_START

public static final java.lang.String COMMENT_SIMPLE_START
See Also:
Constant Field Values

COMMENT_SIMPLE_END

public static final java.lang.String COMMENT_SIMPLE_END
See Also:
Constant Field Values
Constructor Detail

CommentUtils

public CommentUtils()
Method Detail

isStartMatchWithCommentedCDATA

public static boolean isStartMatchWithCommentedCDATA(java.lang.String trimmedContent)

isEndMatchWithCommentedCDATA

public static boolean isEndMatchWithCommentedCDATA(java.lang.String trimmedContent)

isEndMatchtWithInlineCommentedXmlCommentTag

public static boolean isEndMatchtWithInlineCommentedXmlCommentTag(java.lang.String trimmedContent)

isStartMatchWithInlineCommentedCDATA

public static boolean isStartMatchWithInlineCommentedCDATA(java.lang.String trimmedContent)

isEndMatchWithInlineCommentedCDATA

public static boolean isEndMatchWithInlineCommentedCDATA(java.lang.String trimmedContent)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.