Package org.geotools.wmts.bindings
Class LegendURLBinding
Object
AbstractComplexBinding
AbstractComplexEMFBinding
OnlineResourceTypeBinding
LegendURLBinding
- All Implemented Interfaces:
Binding
,ComplexBinding
Binding object for the element http://www.opengis.net/wmts/1.0:LegendURL.
<?xml version="1.0" encoding="UTF-8"?><element name="LegendURL" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<documentation>
Zero or more LegendURL elements may be provided, providing an
image(s) of a legend relevant to each Style of a Layer. The Format
element indicates the MIME type of the legend. minScaleDenominator
and maxScaleDenominator attributes may be provided to indicate to
the client which scale(s) (inclusive) the legend image is appropriate
for. (If provided, these values must exactly match the scale
denominators of available TileMatrixes.) width and height
attributes may be provided to assist client applications in laying
out space to display the legend.
</documentation>
</annotation>
<complexType>
<complexContent>
<extension base="ows:OnlineResourceType">
<annotation>
<documentation>The URL from which the legend image can be retrieved</documentation>
</annotation>
<attribute name="format" type="ows:MimeType">
<annotation>
<documentation>A supported output format for the legend image</documentation>
</annotation>
</attribute>
<attribute name="minScaleDenominator" type="double">
<annotation>
<documentation>Denominator of the minimum scale (inclusive) for which this legend image is valid</documentation>
</annotation>
</attribute>
<attribute name="maxScaleDenominator" type="double">
<annotation>
<documentation>Denominator of the maximum scale (exclusive) for which this legend image is valid</documentation>
</annotation>
</attribute>
<attribute name="width" type="positiveInteger">
<annotation>
<documentation>Width (in pixels) of the legend image</documentation>
</annotation>
</attribute>
<attribute name="height" type="positiveInteger">
<annotation>
<documentation>Height (in pixels) of the legend image</documentation>
</annotation>
</attribute>
</extension>
<!--/attributeGroup-->
</complexContent>
</complexType>
</element>
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractComplexEMFBinding
createEObject, getProperty, setProperty
Methods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
Constructor Details
-
LegendURLBinding
-
-
Method Details
-
getTarget
- Specified by:
getTarget
in interfaceBinding
- Overrides:
getTarget
in classOnlineResourceTypeBinding
- Returns:
- The qualified name of the target for the binding.
-
getType
- Specified by:
getType
in interfaceBinding
- Overrides:
getType
in classOnlineResourceTypeBinding
- Returns:
- The java type this binding maps to.
-
parse
- Specified by:
parse
in interfaceComplexBinding
- Overrides:
parse
in classOnlineResourceTypeBinding
- 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.
-