Package org.geotools.geopkg.wps.xml
Class LayertypeBinding
Object
AbstractComplexBinding
LayertypeBinding
- All Implemented Interfaces:
Binding
,ComplexBinding
- Direct Known Subclasses:
Geopkgtype_featuresBinding
,Geopkgtype_tilesBinding
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>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
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
-
Constructor Details
-
LayertypeBinding
public LayertypeBinding()
-
-
Method Details
-
getTarget
- Returns:
- The qualified name of the target for the binding.
-
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
- 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.
-