public interface ImportHandler extends ContentHandler
ImportHandler
s.ImportHandlerSpi
Modifier and Type | Interface and Description |
---|---|
static class |
ImportHandler.State
State of a
ImportHandler . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAMESPACE |
static String |
UNKNOWN_FIELD_NAMESPACE |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Clean up the handler on any error.
|
void |
endElement(String pNamespaceURI,
String pLocalName)
Receive notification of the end of an element.
|
ImportHandler.State |
getState()
Gets the state of the handler.
|
void |
rollback()
Rollback the handler on any error.
|
void |
startElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Receive notification of the beginning of an element.
|
boolean |
supportsCharacters()
Checks if this handler supports characters.
|
boolean |
supportsElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Checks if this handler supports an element.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
static final String DEFAULT_NAMESPACE
static final String UNKNOWN_FIELD_NAMESPACE
ImportHandler.State getState()
void cleanup()
void rollback()
void startElement(String pNamespaceURI, String pLocalName, Attributes pAttributes) throws SAXException
pNamespaceURI
- the namespace URI.pLocalName
- the local name.pAttributes
- the attributes.SAXException
- on any error.void endElement(String pNamespaceURI, String pLocalName) throws SAXException
pNamespaceURI
- the namespace URI.pLocalName
- the local name.SAXException
- on any error.boolean supportsElement(String pNamespaceURI, String pLocalName, Attributes pAttributes)
pNamespaceURI
- the namespace URI.pLocalName
- the local name.pAttributes
- the attributes.boolean supportsCharacters()
© 1998- 2018 Stibo DX