public class AttributeValueFilter extends DeXSSFilterImpl
xssChangeListener
Constructor and Description |
---|
AttributeValueFilter(DeXSSChangeListener xssChangeListener,
java.util.List<java.lang.String> contents) |
AttributeValueFilter(DeXSSChangeListener xssChangeListener,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String contains)
Adds contains to the list strings for attribute values that this filter should remove.
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
getXSSChangeListener, logXSSChange, logXSSChange, logXSSChange, setDeXSSChangeListener, setParent
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public AttributeValueFilter(DeXSSChangeListener xssChangeListener, java.util.List<java.lang.String> contents)
public AttributeValueFilter(DeXSSChangeListener xssChangeListener, java.lang.String name)
public void add(java.lang.String contains)
contains
- String to addpublic void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.XMLFilterImpl
org.xml.sax.SAXException