Class WmsCapabilities


  • public class WmsCapabilities
    extends XmlModel
    • Constructor Detail

      • WmsCapabilities

        public WmsCapabilities()
    • Method Detail

      • getCapabilities

        public static WmsCapabilities getCapabilities​(java.io.InputStream inputStream)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getNamedLayers

        public java.util.List<WmsLayer> getNamedLayers()
        Returns all named layers in the capabilities document.
        Returns:
        an unordered list of the document's named layers.
      • getNamedLayer

        public WmsLayer getNamedLayer​(java.lang.String name)
      • getService

        public WmsService getService()
        Returns the document's service information.
        Returns:
        the document's service information.
      • 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.
      • parseField

        public void parseField​(java.lang.String keyName,
                               java.lang.Object value)