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, endDocument
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public boolean canHandle(QName elementName)
ParserDelegate
A common check in this method would be to check the namespace of the element.
canHandle
in interface ParserDelegate
elementName
- The name of the element to potentially handle.public boolean canHandle(QName elementName, Attributes attributes, Handler handler, Handler parent)
ParserDelegate2
A common check in this method would be to check the namespace of the element.
canHandle
in interface ParserDelegate2
elementName
- 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 ContentHandler
startElement
in class CopyingHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class CopyingHandler
SAXException
public Object getParsedObject()
ParserDelegate
This method is called after parsing control returns to the main parsing driver.
getParsedObject
in interface ParserDelegate
Copyright © 1996–2019 Geotools. All rights reserved.