public class DelegatingImportHandler extends Object implements ImportHandler
ImportHandler.State
DEFAULT_NAMESPACE, UNKNOWN_FIELD_NAMESPACE
Constructor and Description |
---|
DelegatingImportHandler(ImportHandler pNextImportHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] pCharacters,
int pStart,
int pLength) |
void |
cleanup()
Clean up the handler on any error.
|
void |
endDocument() |
void |
endElement(String pNamespaceURI,
String pLocalName)
Receive notification of the end of an element.
|
void |
endElement(String pNamespaceURI,
String pLocalName,
String pQName) |
void |
endPrefixMapping(String pPrefix) |
ImportHandler |
getNextImportHandler() |
ImportHandler.State |
getState()
Gets the state of the handler.
|
void |
ignorableWhitespace(char[] pCharacters,
int pStart,
int pLength) |
void |
processingInstruction(String pTarget,
String pData) |
void |
rollback()
Rollback the handler on any error.
|
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String pName) |
void |
startDocument() |
void |
startElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Receive notification of the beginning of an element.
|
void |
startElement(String pNamespaceURI,
String pLocalName,
String pQName,
Attributes pAttributes) |
void |
startPrefixMapping(String pPrefix,
String pNamespaceURI) |
boolean |
supportsCharacters()
Checks if this handler supports characters.
|
boolean |
supportsElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Checks if this handler supports an element.
|
public DelegatingImportHandler(ImportHandler pNextImportHandler)
public ImportHandler getNextImportHandler()
public ImportHandler.State getState()
ImportHandler
getState
in interface ImportHandler
public void cleanup()
ImportHandler
cleanup
in interface ImportHandler
public void rollback()
ImportHandler
rollback
in interface ImportHandler
public void startElement(String pNamespaceURI, String pLocalName, Attributes pAttributes) throws SAXException
ImportHandler
startElement
in interface ImportHandler
pNamespaceURI
- the namespace URI.pLocalName
- the local name.pAttributes
- the attributes.SAXException
- on any error.public void endElement(String pNamespaceURI, String pLocalName) throws SAXException
ImportHandler
endElement
in interface ImportHandler
pNamespaceURI
- the namespace URI.pLocalName
- the local name.SAXException
- on any error.public boolean supportsElement(String pNamespaceURI, String pLocalName, Attributes pAttributes)
ImportHandler
supportsElement
in interface ImportHandler
pNamespaceURI
- the namespace URI.pLocalName
- the local name.pAttributes
- the attributes.public boolean supportsCharacters()
ImportHandler
supportsCharacters
in interface ImportHandler
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startPrefixMapping(String pPrefix, String pNamespaceURI) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void endPrefixMapping(String pPrefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void startElement(String pNamespaceURI, String pLocalName, String pQName, Attributes pAttributes) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String pNamespaceURI, String pLocalName, String pQName) throws SAXException
endElement
in interface ContentHandler
SAXException
public void characters(char[] pCharacters, int pStart, int pLength) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] pCharacters, int pStart, int pLength) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void processingInstruction(String pTarget, String pData) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void skippedEntity(String pName) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
© 1998- 2018 Stibo DX