Package org.geotools.geopkg.wps.xml
Class LayertypeBinding
- Object
-
- AbstractComplexBinding
-
- LayertypeBinding
-
- All Implemented Interfaces:
Binding
,ComplexBinding
- Direct Known Subclasses:
Geopkgtype_featuresBinding
,Geopkgtype_tilesBinding
public abstract class LayertypeBinding extends AbstractComplexBinding
Binding object for the type http://www.opengis.net/gpkg:layertype.<?xml version="1.0" encoding="UTF-8"?><xs:complexType name="layertype" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:sequence> <xs:element minOccurs="0" name="identifier" type="xs:string"/> <xs:element minOccurs="0" name="description" type="xs:string"/> <xs:element minOccurs="0" name="bbox"> <xs:complexType name="layertype_bbox"> <xs:sequence> <xs:element name="minx" type="xs:decimal"/> <xs:element name="miny" type="xs:decimal"/> <xs:element name="maxx" type="xs:decimal"/> <xs:element name="maxy" type="xs:decimal"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element minOccurs="0" name="srs" type="xs:string"/> </xs:sequence> <xs:attribute name="name" use="required"/> </xs:complexType>
-
-
Constructor Summary
Constructors Constructor Description LayertypeBinding()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description QName
getTarget()
Class
getType()
Object
parse(ElementInstance instance, Node node, Object value)
abstract GeoPackageProcessRequest.Layer
parseLayer(ElementInstance instance, Node node, Object value)
-
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, getProperty, initialize, initializeChildContext
-
-
-
-
Method Detail
-
getTarget
public QName getTarget()
- Returns:
- The qualified name of the target for the binding.
-
getType
public Class getType()
- Returns:
- The java type this binding maps to.
-
parseLayer
public abstract GeoPackageProcessRequest.Layer parseLayer(ElementInstance instance, Node node, Object value) throws Exception
- Throws:
Exception
-
parse
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
- Specified by:
parse
in interfaceComplexBinding
- Overrides:
parse
in classAbstractComplexBinding
- 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.
-
-