Package org.geotools.wmts.bindings
Class FeatureInfoResponseBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- FeatureInfoResponseBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class FeatureInfoResponseBinding extends AbstractComplexEMFBinding
Binding object for the element http://www.opengis.net/wmts/1.0:FeatureInfoResponse.<?xml version="1.0" encoding="UTF-8"?><element name="FeatureInfoResponse" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType> <choice> <element ref="gml:_FeatureCollection"> <annotation> <documentation> This allows to define any FeatureCollection that is a substitutionGroup of gml:_GML and use it here. A Geography Markup Language GML Simple Features Profile level 0 response format is strongly recommended as a FeatureInfo response. </documentation> </annotation> </element> <element ref="wmts:TextPayload"> <annotation> <documentation> This allows to include any text format that is not a gml:_FeatureCollection like HTML, TXT, etc </documentation> </annotation> </element> <element ref="wmts:BinaryPayload"> <annotation> <documentation> This allows to include any binary format. Binary formats are not common response for a GeFeatureInfo requests but possible for some imaginative implementations. </documentation> </annotation> </element> <element name="AnyContent" type="anyType"> <annotation> <documentation> This allows to include any XML content that it is not any of the previous ones. </documentation> </annotation> </element> </choice> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description FeatureInfoResponseBinding(wmtsv_1Factory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getTarget()
Class
getType()
Object
parse(ElementInstance instance, Node node, Object value)
-
Methods inherited from class AbstractComplexEMFBinding
createEObject, getProperty, setProperty
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
-
-
-
Constructor Detail
-
FeatureInfoResponseBinding
public FeatureInfoResponseBinding(wmtsv_1Factory factory)
-
-
Method Detail
-
getTarget
public QName getTarget()
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class getType()
- Specified by:
getType
in interfaceBinding
- Overrides:
getType
in classAbstractComplexEMFBinding
- Returns:
- The java type this binding maps to.
-
parse
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
- Specified by:
parse
in interfaceComplexBinding
- Overrides:
parse
in classAbstractComplexEMFBinding
- Parameters:
instance
- The element being parsed.node
- The node in the parse tree representing the element 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.- Returns:
- The parsed object, or null if the component could not be parsed.
- Throws:
Exception
- Strategy objects should not attempt to handle any exceptions.
-
-