|
||||||||||
| 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.DeXSSFilterPipeline
public class DeXSSFilterPipeline
DeXSSFilterPipeline sets up a pipeline of other filters.
| Field Summary | |
|---|---|
static java.lang.String |
BODY_ONLY
Feature. |
static java.lang.String |
DEXSS_CHANGE_LISTENER
Property. |
| Constructor Summary | |
|---|---|
DeXSSFilterPipeline()
|
|
| Method Summary | |
|---|---|
DeXSSChangeListener |
getDeXSSChangeListener()
Equivalent to |
boolean |
getFeature(java.lang.String name)
Processes feature BODY_ONLY directly; other features are referred to the superclass. |
java.lang.Object |
getProperty(java.lang.String name)
Processes property DEXSS_CHANGE_LISTENER directly; other properties are referred to the superclass. |
void |
logXSSChange(java.lang.String message)
Called when a change happens and there are no informational items. |
void |
logXSSChange(java.lang.String message,
java.lang.String item1)
Called when a change happens and there is one informational item. |
void |
logXSSChange(java.lang.String message,
java.lang.String item1,
java.lang.String item2)
Called when a change happens and there are two informational items. |
void |
setDeXSSChangeListener(DeXSSChangeListener xssChangeListener)
Equivalent to |
void |
setFeature(java.lang.String name,
boolean state)
Processes feature BODY_ONLY directly; other features are referred to the superclass. |
void |
setParent(org.xml.sax.XMLReader rr)
Specializes XMLFilterImpl.setParent(XMLReader) and constructs the DeXSS filter pipeline first. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Processes property DEXSS_CHANGE_LISTENER directly; other features are referred to the superclass. |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getParent, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BODY_ONLY
public static final java.lang.String DEXSS_CHANGE_LISTENER
DeXSSChangeListener.
| Constructor Detail |
|---|
public DeXSSFilterPipeline()
| Method Detail |
|---|
public void setFeature(java.lang.String name,
boolean state)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
BODY_ONLY directly; other features are referred to the superclass.
setFeature in interface org.xml.sax.XMLReadersetFeature in class org.xml.sax.helpers.XMLFilterImplname - feature namestate - feature state
SAXNotRecognizedException, - SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
BODY_ONLY directly; other features are referred to the superclass.
getFeature in interface org.xml.sax.XMLReadergetFeature in class org.xml.sax.helpers.XMLFilterImplname - feature name
SAXNotRecognizedException, - SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
DEXSS_CHANGE_LISTENER directly; other features are referred to the superclass.
setProperty in interface org.xml.sax.XMLReadersetProperty in class org.xml.sax.helpers.XMLFilterImplname - property name
SAXNotRecognizedException, - SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
DEXSS_CHANGE_LISTENER directly; other properties are referred to the superclass.
getProperty in interface org.xml.sax.XMLReadergetProperty in class org.xml.sax.helpers.XMLFilterImplname - property name
SAXNotRecognizedException, - SAXNotSupportedException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedExceptionpublic void setDeXSSChangeListener(DeXSSChangeListener xssChangeListener)
setProperty(DEXSS_CHANGE_LISTENER, xssChangeListener)
getDeXSSChangeListener()public DeXSSChangeListener getDeXSSChangeListener()
getProperty(#DeXSS_CHANGE_LISTENER)
DeXSSChangeListener or null if none set.setDeXSSChangeListener(DeXSSChangeListener)public void setParent(org.xml.sax.XMLReader rr)
XMLFilterImpl.setParent(XMLReader) and constructs the DeXSS filter pipeline first.
TODO: Pipeline configuration is controlled by inline boolean constants.
Configuration should be made better, perhaps with a Properties
parameter to the constructor.
setParent in interface org.xml.sax.XMLFiltersetParent in class org.xml.sax.helpers.XMLFilterImplpublic void logXSSChange(java.lang.String message)
logXSSChange in interface DeXSSChangeListenermessage - Main message
public void logXSSChange(java.lang.String message,
java.lang.String item1)
logXSSChange in interface DeXSSChangeListenermessage - Main messageitem1 - Information item
public void logXSSChange(java.lang.String message,
java.lang.String item1,
java.lang.String item2)
logXSSChange in interface DeXSSChangeListenermessage - Main messageitem1 - Information item 1item2 - Information item 2
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||