Class CapabilitiesBinding

  • All Implemented Interfaces:
    Binding, ComplexBinding

    public class CapabilitiesBinding
    extends AbstractComplexEMFBinding
    Binding object for the element http://www.opengis.net/wmts/1.0:Capabilities.

           
      <?xml version="1.0" encoding="UTF-8"?><element name="Capabilities" xmlns="http://www.w3.org/2001/XMLSchema">
                    <annotation>
                            <documentation>XML defines the WMTS GetCapabilities operation response.
                            ServiceMetadata document provides clients with service metadata about a specific service
                            instance, including metadata about the tightly-coupled data served. If the server
                            does not implement the updateSequence parameter, the server SHALL always
                            return the complete Capabilities document, without the updateSequence parameter.
                            When the server implements the updateSequence parameter and the
                            GetCapabilities operation request included the updateSequence parameter
                            with the current value, the server SHALL return this element with only the
                            "version" and "updateSequence" attributes. Otherwise, all optional elements
                            SHALL be included or not depending on the actual value of the Contents
                            parameter in the GetCapabilities operation request.
                            </documentation>
                    </annotation>
                    <complexType>
                            <complexContent>
                                    <extension base="ows:CapabilitiesBaseType">
                                            <sequence>
                                                    <element minOccurs="0" name="Contents" type="wmts:ContentsType">
                                                            <annotation>
                                                                    <documentation>Metadata about the data served by this server.
                                                                    For WMTS, this section SHALL contain data about layers and
                                                                    TileMatrixSets</documentation>
                                                            </annotation>
                                                    </element>
                                                    <element maxOccurs="unbounded" minOccurs="0" ref="wmts:Themes">
                                                            <annotation>
                                                                    <documentation>
                                                                    Metadata describing a theme hierarchy for the layers
                                                                    </documentation>
                                                            </annotation>
                                                    </element>
                                                    <element maxOccurs="unbounded" minOccurs="0" name="WSDL" type="ows:OnlineResourceType">
                                                            <annotation>
                                                                    <documentation>Reference to a WSDL resource</documentation>
                                                            </annotation>
                                                    </element>
                                                    <element maxOccurs="unbounded" minOccurs="0" name="ServiceMetadataURL" type="ows:OnlineResourceType">
                                                            <annotation>
                                                                    <documentation>
                                                                    Reference to a ServiceMetadata resource on resource
                                                                    oriented architectural style
                                                                    </documentation>
                                                            </annotation>
                                                    </element>
                                            </sequence>
                                    </extension>
                            </complexContent>
                    </complexType>
            </element>
    
       
         
    • Constructor Detail

      • CapabilitiesBinding

        public CapabilitiesBinding​(wmtsv_1Factory factory)
    • Method Detail

      • getTarget

        public QName getTarget()
        Returns:
        The qualified name of the target for the binding.
      • 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.