public class AttributeValueRegexpFilter extends DeXSSFilterImpl
xssChangeListener
Constructor and Description |
---|
AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener,
java.util.List<java.util.regex.Pattern> regexps) |
AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener,
java.lang.String name) |
AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener,
java.lang.String name,
int flags) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String regexp)
Adds regexp to the list of regexps 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 AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener, java.util.List<java.util.regex.Pattern> regexps)
public AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener, java.lang.String name)
public AttributeValueRegexpFilter(DeXSSChangeListener xssChangeListener, java.lang.String name, int flags)
public void add(java.lang.String regexp)
regexp
- regexp 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