com.goodeast.webobjects.switchablestring
Class SSDisallowedTagsFilter

java.lang.Object
  |
  +--com.goodeast.webobjects.switchablestring.SSHTMLFilter
        |
        +--com.goodeast.webobjects.switchablestring.SSDisallowedTagsFilter

public class SSDisallowedTagsFilter
extends SSHTMLFilter

Checks tags against a disallowed list. If the tag is on the disallowed list it isescaped, otherwise it is not escaped.


Nested Class Summary
 
Nested classes inherited from class com.goodeast.webobjects.switchablestring.SSHTMLFilter
SSHTMLFilter.Factory
 
Method Summary
 boolean tagShouldBeEscaped(java.lang.String tag)
          Returns true if tag is in the disallowed list.
 
Methods inherited from class com.goodeast.webobjects.switchablestring.SSHTMLFilter
filterForAllowedHTML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tagShouldBeEscaped

public boolean tagShouldBeEscaped(java.lang.String tag)
Returns true if tag is in the disallowed list.

Specified by:
tagShouldBeEscaped in class SSHTMLFilter
Parameters:
tag - Tag to be checked
Returns:
True if tag should be escaped, false otherwise.