public class QueryExpressionTextDelegate extends CopyingHandler implements ParserDelegate
buffer, namespaceContext, root
Constructor and Description |
---|
QueryExpressionTextDelegate(NamespaceSupport context) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(QName elementName)
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 QueryExpressionTextDelegate(NamespaceSupport context)
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 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 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.