Package org.geotools.wfs.v2_0.bindings
Class QueryExpressionTextDelegate
- Object
-
- DefaultHandler
-
- CopyingHandler
-
- QueryExpressionTextDelegate
-
- All Implemented Interfaces:
ParserDelegate,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class QueryExpressionTextDelegate extends CopyingHandler implements ParserDelegate
-
-
Field Summary
-
Fields inherited from class CopyingHandler
buffer, namespaceContext, root
-
-
Constructor Summary
Constructors Constructor Description QueryExpressionTextDelegate(NamespaceSupport context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanHandle(QName elementName)booleancanHandle(QName elementName, Attributes attributes, Handler handler, Handler parent)Determines if this delegate can handle the specified element name.voidendElement(String uri, String localName, String qName)ObjectgetParsedObject()Gets the final parsed object from the delegate.voidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class CopyingHandler
characters, endDocument
-
Methods inherited from class DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ContentHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
-
-
-
-
Constructor Detail
-
QueryExpressionTextDelegate
public QueryExpressionTextDelegate(NamespaceSupport context)
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classCopyingHandler- Throws:
SAXException
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classCopyingHandler- Throws:
SAXException
-
canHandle
public boolean canHandle(QName elementName)
-
canHandle
public boolean canHandle(QName elementName, Attributes attributes, Handler handler, Handler parent)
Description copied from interface:ParserDelegateDetermines if this delegate can handle the specified element name.A common check in this method would be to check the namespace of the element.
- Specified by:
canHandlein interfaceParserDelegate- Parameters:
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, possiblynullparent- The parse handler for the parent element, possiblynull.- Returns:
- True if this delegate handles elements of the specified name and should take over parsing.
-
getParsedObject
public Object getParsedObject()
Description copied from interface:ParserDelegateGets the final parsed object from the delegate.This method is called after parsing control returns to the main parsing driver.
- Specified by:
getParsedObjectin interfaceParserDelegate
-
-