Package org.geotools.wmts.bindings
Class GetTileBinding
- Object
-
- AbstractComplexBinding
-
- AbstractComplexEMFBinding
-
- GetTileBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
public class GetTileBinding extends AbstractComplexEMFBinding
Binding object for the element http://www.opengis.net/wmts/1.0:GetTile.<?xml version="1.0" encoding="UTF-8"?><element name="GetTile" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType> <sequence> <element name="Layer" type="string"> <annotation> <documentation>A layer identifier has to be referenced</documentation> </annotation> </element> <element name="Style" type="string"> <annotation> <documentation>A style identifier has to be referenced.</documentation> </annotation> </element> <element name="Format" type="ows:MimeType"> <annotation> <documentation>Output format of the tile</documentation> </annotation> </element> <element maxOccurs="unbounded" minOccurs="0" ref="wmts:DimensionNameValue"> <annotation> <documentation>Dimension name and value</documentation> </annotation> </element> <element name="TileMatrixSet" type="string"> <annotation> <documentation>A TileMatrixSet identifier has to be referenced</documentation> </annotation> </element> <element name="TileMatrix" type="string"> <annotation> <documentation>A TileMatrix identifier has to be referenced</documentation> </annotation> </element> <element name="TileRow" type="nonNegativeInteger"> <annotation> <documentation>Row index of tile matrix</documentation> </annotation> </element> <element name="TileCol" type="nonNegativeInteger"> <annotation> <documentation>Column index of tile matrix</documentation> </annotation> </element> </sequence> <attribute fixed="WMTS" name="service" type="string" use="required"/> <attribute fixed="1.0.0" name="version" type="string" use="required"/> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description GetTileBinding(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
-
GetTileBinding
public GetTileBinding(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.
-
-