Modifier and Type | Class and Description |
---|---|
class |
DOMFilter.NotifyingDOMBuilder |
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger |
Constructor and Description |
---|
DOMFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
documentIsFinished()
This method is called when the SAX event endDocument is passed to the DOM tree.
|
ContentHandler |
filter(ContentHandler pNextHandler,
Map<Object,Object> pParameters)
Filters the content.
|
protected Document |
getDocument()
Returns the current document being built.
|
protected ContentHandler |
getNextContentHandler() |
String |
getRevision() |
protected void |
setDocument(Document pDocument) |
protected void |
setNextContentHandler(ContentHandler pNextContentHandler) |
public DOMFilter() throws ParserConfigurationException
ParserConfigurationException
public ContentHandler filter(ContentHandler pNextHandler, Map<Object,Object> pParameters)
SAXFilter
filter
in interface SAXFilter
pNextHandler
- The input ContentHandlerpParameters
- A set of parameters available. This will be sent to all filters in the list. It may therefore be
used to pass parameters to the next filter.ContentHandler
, may not be null
protected void documentIsFinished() throws SAXException
This method is a placeholder for the system to modify (or replace) the document as required. If the import should be stopped, simply throw a SAXException
SAXException
- if the import should be aborted.protected Document getDocument()
protected void setDocument(Document pDocument)
protected ContentHandler getNextContentHandler()
protected void setNextContentHandler(ContentHandler pNextContentHandler)
public String getRevision()
© 1998- 2018 Stibo DX