public class XmlComplexFeatureParser extends XmlFeatureParser<FeatureType,Feature>
parser, targetType
Constructor and Description |
---|
XmlComplexFeatureParser(InputStream getFeatureResponseStream,
FeatureType targetType,
QName featureDescriptorName)
Initialises a new instance of the XmlComplexFeature class.
|
XmlComplexFeatureParser(InputStream getFeatureResponseStream,
FeatureType targetType,
QName featureDescriptorName,
Filter filter)
Initialises a new instance of the XmlComplexFeature class.
|
Modifier and Type | Method and Description |
---|---|
Feature |
parse()
Search for and parse the next feature.
|
close, getFeatureType, getNumberOfFeatures, parseAttributeValue, parseGeom, seekFeature, setGeometryFactory
public XmlComplexFeatureParser(InputStream getFeatureResponseStream, FeatureType targetType, QName featureDescriptorName) throws IOException
getFeatureResponseStream
- the input stream of the WFS response.targetType
- The feature type of the WFS response.featureDescriptorName
- The name of the feature descriptor.IOException
public XmlComplexFeatureParser(InputStream getFeatureResponseStream, FeatureType targetType, QName featureDescriptorName, Filter filter) throws IOException
getFeatureResponseStream
- the input stream of the WFS response.targetType
- The feature type of the WFS response.featureDescriptorName
- The name of the feature descriptor.filter
- Filter to apply to the features.IOException
public Feature parse() throws IOException
null
if there are no more features to
parse.IOException
Copyright © 1996–2019 Geotools. All rights reserved.