|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.XMLFilterImpl org.geotools.filter.FilterFilter org.vfny.geoserver.requests.wfs.TransactionFilterHandler
Uses SAX to extact a Transactional request from and incoming XML stream. This class handles what should be done with geometries, if they should be passed to become part of a Feature, or if they should be an attribute in the Filter. These set of classes are fairly clunky and could probably be rewritten in geotools.
Field Summary |
Fields inherited from class org.geotools.filter.FilterFilter |
insideFilter |
Constructor Summary | |
TransactionFilterHandler(TransactionHandler parent,
org.geotools.feature.FeatureType schema)
Empty constructor. |
Method Summary | |
void |
feature(org.geotools.feature.Feature feature)
Recieves the feature for an insert request. |
void |
geometry(com.vividsolutions.jts.geom.Geometry geometry)
Recieves the geometry from a child, and either passes it on to FilterFilter to add to the filter, or if not in a filter then it goes to the transaction handler. |
Methods inherited from class org.geotools.filter.FilterFilter |
characters, convertType, endElement, startElement |
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 |
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Constructor Detail |
public TransactionFilterHandler(TransactionHandler parent, org.geotools.feature.FeatureType schema)
parent
- The handler to pass filters and features to.schema
- The schema (not used, this needs to be redone in geotools)Method Detail |
public void geometry(com.vividsolutions.jts.geom.Geometry geometry)
geometry
in interface org.geotools.gml.GMLHandlerJTS
geometry
- called by a child filter when it can not deal with it.public void feature(org.geotools.feature.Feature feature)
feature
in interface org.geotools.gml.GMLHandlerFeature
feature
- The feature read by child parsers.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |