public class ValueRangeTypeBinding extends AbstractComplexBinding
<complexType name="valueRangeType">
<annotation>
<documentation>The range of an interval. If the "min" or "max" element is not included, there is no value limit in that direction. Inclusion of the specified minimum and maximum values in the range shall be defined by the "closure". (The interval can be bounded or semi-bounded with different closures.) The data type and the semantic of the values are inherited by children and may be superceded by them. This range may be qualitative, i.e., nominal (age range) or qualitative (percentage) meaning that a value between min/max can be queried. </documentation>
</annotation>
<sequence>
<element minOccurs="0" name="min" type="wcs:TypedLiteralType">
<annotation>
<documentation>Minimum value of this numeric parameter. </documentation>
</annotation>
</element>
<element minOccurs="0" name="max" type="wcs:TypedLiteralType">
<annotation>
<documentation>Maximum value of this numeric parameter. </documentation>
</annotation>
</element>
</sequence>
<attribute ref="wcs:type" use="optional">
<annotation>
<documentation>Can be omitted when the datatype of values in this interval is string, or the "type" attribute is included in an enclosing element. </documentation>
</annotation>
</attribute>
<attribute ref="wcs:semantic" use="optional">
<annotation>
<documentation>Can be omitted when the semantics or meaning of values in this interval is clearly specified elsewhere, or the "semantic" attribute is included in an enclosing element. </documentation>
</annotation>
</attribute>
<attribute default="false" name="atomic" type="boolean" use="optional">
<annotation>
<documentation>What does this attribute mean? Is it useful and not redundant? When should this attribute be included or omitted? TBD. </documentation>
</annotation>
</attribute>
<attribute ref="wcs:closure" use="optional">
<annotation>
<documentation>Shall be included unless the default value applies. </documentation>
</annotation>
</attribute>
</complexType>
Constructor and Description |
---|
ValueRangeTypeBinding() |
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.