|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
com.xerox.adoc.dexss.filters.DeXSSFilterImpl
com.xerox.adoc.dexss.filters.AttributeNameRemovalFilter
public class AttributeNameRemovalFilter
Attribute Removal Filter;
Removes attributes matching names added with add(String).
| Field Summary |
|---|
| Fields inherited from class com.xerox.adoc.dexss.filters.DeXSSFilterImpl |
|---|
xssChangeListener |
| Constructor Summary | |
|---|---|
AttributeNameRemovalFilter(DeXSSChangeListener xssChangeListener)
|
|
AttributeNameRemovalFilter(DeXSSChangeListener xssChangeListener,
java.util.Set attributeLocalNames)
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name)
Adds name to the list names regexps for 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)
|
| Methods inherited from class com.xerox.adoc.dexss.filters.DeXSSFilterImpl |
|---|
getXSSChangeListener, logXSSChange, logXSSChange, logXSSChange, setDeXSSChangeListener, setParent |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.XMLFilter |
|---|
getParent |
| Methods inherited from interface org.xml.sax.XMLReader |
|---|
getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getProperty, parse, parse, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
| Constructor Detail |
|---|
public AttributeNameRemovalFilter(DeXSSChangeListener xssChangeListener)
public AttributeNameRemovalFilter(DeXSSChangeListener xssChangeListener,
java.util.Set attributeLocalNames)
| Method Detail |
|---|
public void add(java.lang.String name)
name - name to add
public 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.ContentHandlerstartElement in class org.xml.sax.helpers.XMLFilterImplorg.xml.sax.SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||