public class AttributeNameStartFilter extends DeXSSFilterImpl
xssChangeListener
Constructor and Description |
---|
AttributeNameStartFilter(DeXSSChangeListener xssChangeListener) |
AttributeNameStartFilter(DeXSSChangeListener xssChangeListener,
java.util.List<java.lang.String> starts) |
AttributeNameStartFilter(DeXSSChangeListener xssChangeListener,
java.lang.String startsWith) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String startsWith)
Adds startsWith to the list of starting strings of attribute names 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 AttributeNameStartFilter(DeXSSChangeListener xssChangeListener)
public AttributeNameStartFilter(DeXSSChangeListener xssChangeListener, java.util.List<java.lang.String> starts)
public AttributeNameStartFilter(DeXSSChangeListener xssChangeListener, java.lang.String startsWith)
public void add(java.lang.String startsWith)
startsWith
- 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