public class ParameterParserDelegate extends CopyingHandler implements ParserDelegate, ParserDelegate2
buffer, namespaceContext, root| Constructor and Description |
|---|
ParameterParserDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(QName elementName)
Determines if this delegate can handle the specified element name.
|
boolean |
canHandle(QName elementName,
Attributes attributes,
Handler handler,
Handler parent)
Determines if this delegate can handle the specified element name.
|
void |
endElement(String uri,
String localName,
String qName) |
Object |
getParsedObject()
Gets the final parsed object from the delegate.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocumentendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingpublic boolean canHandle(QName elementName)
ParserDelegateA common check in this method would be to check the namespace of the element.
canHandle in interface ParserDelegateelementName - The name of the element to potentially handle.public boolean canHandle(QName elementName, Attributes attributes, Handler handler, Handler parent)
ParserDelegate2A common check in this method would be to check the namespace of the element.
canHandle in interface ParserDelegate2elementName - The name of the element to potentially handle.attributes - The attributes of the element to potentially handlehandler - The parse handler that would normally handle the element, possibly null
parent - The parse handler for the parent element, possibly null.public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class CopyingHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class CopyingHandlerSAXExceptionpublic Object getParsedObject()
ParserDelegateThis method is called after parsing control returns to the main parsing driver.
getParsedObject in interface ParserDelegateCopyright © 1996–2019 Geotools. All rights reserved.