Package org.geotools.wmts.bindings
Class LayerTypeBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- LayerTypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class LayerTypeBinding extends AbstractComplexEMFBinding
Binding object for the type http://www.opengis.net/wmts/1.0:LayerType.<?xml version="1.0" encoding="UTF-8"?><complexType name="LayerType" xmlns="http://www.w3.org/2001/XMLSchema"> <complexContent> <extension base="ows:DatasetDescriptionSummaryBaseType"> <sequence> <element maxOccurs="unbounded" ref="wmts:Style"> <annotation> <documentation>Metadata about the styles of this layer</documentation> </annotation> </element> <element maxOccurs="unbounded" name="Format" type="ows:MimeType"> <annotation> <documentation>Supported valid output MIME types for a tile</documentation> </annotation> </element> <element maxOccurs="unbounded" minOccurs="0" name="InfoFormat" type="ows:MimeType"> <annotation> <documentation> Supported valid output MIME types for a FeatureInfo. If there isn't any, The server do not support FeatureInfo requests for this layer.</documentation> </annotation> </element> <element maxOccurs="unbounded" minOccurs="0" ref="wmts:Dimension"> <annotation> <documentation>Extra dimensions for a tile and FeatureInfo requests.</documentation> </annotation> </element> <element maxOccurs="unbounded" ref="wmts:TileMatrixSetLink"> <annotation> <documentation>Reference to a tileMatrixSet and limits</documentation> </annotation> </element> <element maxOccurs="unbounded" minOccurs="0" name="ResourceURL" type="wmts:URLTemplateType"> <annotation> <documentation> URL template to a tile or a FeatureInfo resource on resource oriented architectural style </documentation> </annotation> </element> </sequence> </extension> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description LayerTypeBinding(wmtsv_1Factory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getTarget()
Class<LayerType>
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
-
LayerTypeBinding
public LayerTypeBinding(wmtsv_1Factory factory)
-
-
Method Detail
-
getTarget
public QName getTarget()
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class<LayerType> 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.
-
-