Class ContactTypeBinding

All Implemented Interfaces:
Binding, ComplexBinding

public class ContactTypeBinding extends AbstractComplexEMFBinding
Binding object for the type http://www.opengis.net/ows:ContactType.

         
  <complexType name="ContactType">
      <annotation>
          <documentation>Information required to enable contact with the responsible person and/or organization. </documentation>
          <documentation>For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section. </documentation>
      </annotation>
      <sequence>
          <element minOccurs="0" name="Phone" type="ows:TelephoneType">
              <annotation>
                  <documentation>Telephone numbers at which the organization or individual may be contacted. </documentation>
              </annotation>
          </element>
          <element minOccurs="0" name="Address" type="ows:AddressType">
              <annotation>
                  <documentation>Physical and email address at which the organization or individual may be contacted. </documentation>
              </annotation>
          </element>
          <element minOccurs="0" name="OnlineResource" type="ows:OnlineResourceType">
              <annotation>
                  <documentation>On-line information that can be used to contact the individual or organization. OWS specifics: The xlink:href attribute in the xlink:simpleLink attribute group shall be used to reference this resource. Whenever practical, the xlink:href attribute with type anyURI should be a URL from which more contact information can be electronically retrieved. The xlink:title attribute with type "string" can be used to name this set of information. The other attributes in the xlink:simpleLink attribute group should not be used. </documentation>
              </annotation>
          </element>
          <element minOccurs="0" name="HoursOfService" type="string">
              <annotation>
                  <documentation>Time period (including time zone) when individuals can contact the organization or individual. </documentation>
              </annotation>
          </element>
          <element minOccurs="0" name="ContactInstructions" type="string">
              <annotation>
                  <documentation>Supplemental instructions on how or when to contact the individual or organization. </documentation>
              </annotation>
          </element>
      </sequence>
  </complexType>

          
         
  • Constructor Details

    • ContactTypeBinding

      public ContactTypeBinding(Ows10Factory factory)
  • Method Details

    • getTarget

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

      public Class getType()
      Specified by:
      getType in interface Binding
      Overrides:
      getType in class AbstractComplexEMFBinding
      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 AbstractComplexEMFBinding
      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.