public abstract class ImportHandlerSpi extends Object
ImportHandler
s.ImportHandler
Modifier | Constructor and Description |
---|---|
protected |
ImportHandlerSpi(String pVendor,
String pVersion,
String pDescription)
Creates an
ImportHandlerSpi . |
Modifier and Type | Method and Description |
---|---|
abstract ImportHandler |
createHandler(XMLImportConfiguration pImportConfiguration,
SAXConfiguration pSAXConfiguration)
Asks this service provider to create a new handler.
|
String |
getDescription() |
String |
getVendor() |
String |
getVersion() |
abstract boolean |
supportsElement(String pNamespaceURI,
String pLocalName,
Attributes pAttributes)
Tests whether this service provider can create a handler for the given element.
|
String |
toString() |
public abstract boolean supportsElement(String pNamespaceURI, String pLocalName, Attributes pAttributes)
pNamespaceURI
- the name space URI of the elementpLocalName
- the local name of the element which is non-prefixedpAttributes
- true
if this provider can create a handler, otherwise false
.public abstract ImportHandler createHandler(XMLImportConfiguration pImportConfiguration, SAXConfiguration pSAXConfiguration)
pImportConfiguration
- the import configuration for the handlerpSAXConfiguration
- the SAX configuration for the handlerIllegalArgumentException
- if either pImportConfiguration
or pSAXConfiguration
is null
supportsElement(String, String,org.xml.sax.Attributes)
public final String getVendor()
public final String getVersion()
public final String getDescription()
© 1998- 2021 Escenic AS