public class LegendURLBinding extends AbstractComplexBinding
<?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>
Constructor and Description |
---|
LegendURLBinding(wmtsv_1Factory factory) |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Class |
getType() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
encode, getExecutionMode, getProperties, getProperties, getProperty, initialize, initializeChildContext
public QName getTarget()
public Class getType()
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class AbstractComplexBinding
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.Exception
- Strategy objects should not attempt to handle any exceptions.Copyright © 1996–2019 Geotools. All rights reserved.