public class ElementHandlerFactory extends Object
XMLSAXHandler
,
Schema
Modifier and Type | Field and Description |
---|---|
protected URI |
defaultNS |
static String |
KEY
Used to store ElementHandlerFactory
|
Constructor and Description |
---|
ElementHandlerFactory(Logger l)
Creates a new ElementHandlerFactory object.
|
Modifier and Type | Method and Description |
---|---|
XMLElementHandler |
createElementHandler(Element eth)
Creates an element handler based on the element provided.
|
XMLElementHandler |
createElementHandler(URI namespaceURI,
String localName)
Creates an element handler for the element specified by name and namespace.
|
void |
endPrefixMapping(String prefix) |
URI |
getNamespace(String prefix) |
protected void |
startPrefixMapping(String prefix,
Schema targ) |
void |
startPrefixMapping(String prefix,
String targ) |
void |
startPrefixMapping(String prefix,
String targ,
URI uri) |
public static final String KEY
protected URI defaultNS
public ElementHandlerFactory(Logger l)
l
- Loggerpublic void endPrefixMapping(String prefix)
public void startPrefixMapping(String prefix, String targ, URI uri) throws SAXException
public void startPrefixMapping(String prefix, String targ) throws SAXException
public XMLElementHandler createElementHandler(URI namespaceURI, String localName) throws SAXException
SAXException
createElementHandler(Element)
public XMLElementHandler createElementHandler(Element eth) throws SAXException
eth
- ElementSAXException
Copyright © 1996–2023 Geotools. All rights reserved.