Class ServiceTypeBinding

  • All Implemented Interfaces:
    Binding, ComplexBinding

    public class ServiceTypeBinding
    extends AbstractComplexBinding
    Binding object for the type

      <complexType name="ServiceType">
              <documentation>A minimal, human readable rescription of the service. </documentation>
              <extension base="wcs:AbstractDescriptionType">
                      <element maxOccurs="unbounded" minOccurs="0" ref="wcs:keywords"/>
                      <element minOccurs="0" name="responsibleParty" type="wcs:ResponsiblePartyType"/>
                      <element name="fees" type="gml:CodeListType">
                              <documentation>A text string identifying any fees imposed by the service provider. The keyword NONE shall be used to mean no fees. </documentation>
                      <element maxOccurs="unbounded" name="accessConstraints" type="gml:CodeListType">
                              <documentation>A text string identifying any access constraints imposed by the service provider. The keyword NONE shall be used to mean no access constraints are imposed. </documentation>
                  <attribute fixed="1.0.0" name="version" type="string" use="optional"/>
                  <attribute name="updateSequence" type="string" use="optional">
                          <documentation>Service metadata (Capabilities) document version, having values that are "increased" whenever any change is made in service metadata document. Values are selected by each server, and are always opaque to clients. When supported by server, server shall return this attribute. </documentation>
    • Constructor Detail

      • ServiceTypeBinding

        public ServiceTypeBinding()
    • Method Detail

      • getTarget

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

        public Class getType()
        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
        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.
        The parsed object, or null if the component could not be parsed.
        Exception - Strategy objects should not attempt to handle any exceptions.