org.apache.myfaces.shared_tomahawk.util
Class CommentUtils

java.lang.Object
  extended by org.apache.myfaces.shared_tomahawk.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.

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Leonardo Uribe (latest modification by $Author: bommel $)

Field Summary
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
CommentUtils()
           
 
Method Summary
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)
           
 
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 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
Constructor Detail

CommentUtils

public CommentUtils()
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)


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