Class WCS100Capabilities

    • Field Detail

      • eventReader

        protected javax.xml.stream.XMLEventReader eventReader
    • Constructor Detail

      • WCS100Capabilities

        public WCS100Capabilities​(java.lang.Object docSource)
    • Method Detail

      • retrieve

        public static WCS100Capabilities retrieve​(java.net.URI uri)
                                           throws java.lang.Exception
        Retrieves the WCS capabilities document from a specified WCS server.
        Parameters:
        uri - The URI of the server.
        Returns:
        The WCS capabilities document for the specified server.
        Throws:
        java.lang.Exception - if a general error occurs.
        java.lang.IllegalArgumentException - if the specified URI is invalid.
        WWRuntimeException - if an error occurs retrieving the document.
      • initialize

        protected void initialize()
      • createReader

        protected javax.xml.stream.XMLEventReader createReader​(java.lang.Object docSource)
      • createParserContext

        protected XMLEventParserContext createParserContext​(javax.xml.stream.XMLEventReader reader)
      • getVersion

        public java.lang.String getVersion()
        Returns the document's version number.
        Returns:
        the document's version number.
      • getUpdateSequence

        public java.lang.String getUpdateSequence()
        Returns the document's update sequence.
        Returns:
        the document's update sequence.
      • parse

        public WCS100Capabilities parse​(java.lang.Object... args)
                                 throws javax.xml.stream.XMLStreamException
        Starts document parsing. This method initiates parsing of the XML document and returns when the full capabilities document has been parsed.
        Parameters:
        args - optional arguments to pass to parsers of sub-elements.
        Returns:
        this if parsing is successful, otherwise null.
        Throws:
        javax.xml.stream.XMLStreamException - if an exception occurs while attempting to read the event stream.