Class ValueRangeTypeBinding

  • All Implemented Interfaces:
    Binding, ComplexBinding

    public class ValueRangeTypeBinding
    extends AbstractComplexBinding
    Binding object for the type http://www.opengis.net/wcs:valueRangeType.

      
      <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 Detail

      • ValueRangeTypeBinding

        public ValueRangeTypeBinding()
    • Method Detail

      • getTarget

        public QName getTarget()
        Returns:
        The qualified name of the target for the binding.
      • getType

        public Class getType()
        Returns:
        The java type this binding maps to.
      • parse

        public Object parse​(ElementInstance instance,
                            Node node,
                            Object value)
                     throws Exception
        Specified by:
        parse in interface ComplexBinding
        Overrides:
        parse in class AbstractComplexBinding
        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.