public class ResultTypeTypeBinding extends AbstractSimpleBinding
<xsd:simpleType name="ResultTypeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="results">
<xsd:annotation>
<xsd:documentation>
Indicates that a complete response should be generated
by the WFS. That is, all response feature instances
should be returned to the client.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="hits">
<xsd:annotation>
<xsd:documentation>
Indicates that an empty response should be generated with
the "numberOfFeatures" attribute set (i.e. no feature
instances should be returned). In this manner a client may
determine the number of feature instances that a GetFeature
request will return without having to actually get the
entire result set back.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
Constructor and Description |
---|
ResultTypeTypeBinding(WfsFactory factory) |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Class |
getType() |
Object |
parse(InstanceComponent instance,
Object value) |
encode, getExecutionMode
public QName getTarget()
public Class getType()
public Object parse(InstanceComponent instance, Object value) throws Exception
parse
in interface SimpleBinding
parse
in class AbstractSimpleBinding
instance
- The component being parsed.value
- The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.Exception
Copyright © 1996–2019 Geotools. All rights reserved.