Package org.geotools.wmts.bindings
Class LegendURLBinding
- Object
- 
- AbstractComplexBinding
- 
- AbstractComplexEMFBinding
- 
- OnlineResourceTypeBinding
- 
- LegendURLBinding
 
 
 
 
- 
- All Implemented Interfaces:
- Binding,- ComplexBinding
 
 public class LegendURLBinding extends OnlineResourceTypeBinding 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>
- 
- 
Constructor SummaryConstructors Constructor Description LegendURLBinding(wmtsv_1Factory factory)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetTarget()ClassgetType()Objectparse(ElementInstance instance, Node node, Object value)- 
Methods inherited from class AbstractComplexEMFBindingcreateEObject, getProperty, setProperty
 - 
Methods inherited from class AbstractComplexBindingencode, getExecutionMode, getProperties, initialize, initializeChildContext
 
- 
 
- 
- 
- 
Constructor Detail- 
LegendURLBindingpublic LegendURLBinding(wmtsv_1Factory factory) 
 
- 
 - 
Method Detail- 
getTargetpublic QName getTarget() - Specified by:
- getTargetin interface- Binding
- Overrides:
- getTargetin class- OnlineResourceTypeBinding
- Returns:
- The qualified name of the target for the binding.
 
 - 
getTypepublic Class getType() - Specified by:
- getTypein interface- Binding
- Overrides:
- getTypein class- OnlineResourceTypeBinding
- Returns:
- The java type this binding maps to.
 
 - 
parsepublic Object parse(ElementInstance instance, Node node, Object value) throws Exception - Specified by:
- parsein interface- ComplexBinding
- Overrides:
- parsein class- OnlineResourceTypeBinding
- 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.
 
 
- 
 
-