|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
org.vfny.geoserver.requests.wfs.DescribeHandler
Uses SAX to extact a DescribeFeatureType query from and incoming GetFeature request XML stream.
Note that this Handler extension ignores Filters completely and must be chained as a parent to the PredicateFilter method in order to recognize them. If it is not chained, it will still generate valid queries, but with no filtering whatsoever.
| Constructor Summary | |
DescribeHandler()
|
|
| Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Checks if inside type name and adds to feature type list, if so. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
Notes the end of the element and sets the current tag. |
DescribeRequest |
getRequest()
Returns the GetCapabilities request. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes atts)
Notes the start of the element and sets the current tag. |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
| Constructor Detail |
public DescribeHandler()
| Method Detail |
public DescribeRequest getRequest()
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlernamespaceURI - URI for namespace appended to element.localName - Local name of element.rawName - Raw name of element.atts - Element attributes.
org.xml.sax.SAXException - For standard SAX errors.
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlernamespaceURI - URI for namespace appended to element.localName - Local name of element.rawName - Raw name of element.
org.xml.sax.SAXException - For standard SAX errors.
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlerch - URI for namespace appended to element.start - Local name of element.length - Raw name of element.
org.xml.sax.SAXException - For standard SAX errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||