NASA World Wind

gov.nasa.worldwind.wms
Class Capabilities

java.lang.Object
  extended by gov.nasa.worldwind.wms.Capabilities
Direct Known Subclasses:
CapabilitiesV111, CapabilitiesV130

public abstract class Capabilities
extends Object


Nested Class Summary
protected static class Capabilities.Layer
           
protected static class Capabilities.Style
           
 
Field Summary
protected  Element capability
           
protected  Document doc
           
protected  Element service
           
protected  HashMap<Element,Capabilities.Style> styleElements
           
protected  XPath xpath
           
 
Constructor Summary
protected Capabilities(Document doc, XPath xpath)
           
 
Method Summary
 String getAbstract()
           
 String getAccessConstraints()
           
 String getAuthorityName(Element authority)
           
 String getAuthorityURL(Element authority)
           
 String getBoundingBoxCRS(Element bbox)
           
 String getBoundingBoxMaxx(Element bbox)
           
 String getBoundingBoxMaxy(Element bbox)
           
 String getBoundingBoxMinx(Element bbox)
           
 String getBoundingBoxMiny(Element bbox)
           
 String getBoundingBoxResx(Element bbox)
           
 String getBoundingBoxResy(Element bbox)
           
 String getBoundingBoxSRS(Element bbox)
           
 String getContactOrganization()
           
 String getContactPerson()
           
 String getDimensionCurrent(Element dimension)
           
 String getDimensionDefault(Element dimension)
           
 String getDimensionExtent(Element dimension)
           
 String getDimensionMultipleValues(Element dimension)
           
 String getDimensionName(Element dimension)
           
 String getDimensionNearestValue(Element dimension)
           
 String getDimensionUnits(Element dimension)
           
 String getDimensionUnitSymbol(Element dimension)
           
 String getEastBoundLongitude(Element bbox)
           
protected  Element getElement(Element context, String path)
           
protected  Element[] getElements(Element context, String path)
           
 String[] getExceptionFormats()
           
 String getExtentCurrent(Element dimension)
           
 String getExtentDefault(Element dimension)
           
 String getExtentMultipleValues(Element dimension)
           
 String getExtentName(Element dimension)
           
 String getExtentNearestValue(Element dimension)
           
 String getExtentText(Element dimension)
           
 String getFeatureInfoRequestGetURL()
           
 String getFeatureInfoRequestPostURL()
           
 String getFees()
           
 String[] getGetCapabilitiesFormats()
           
 String getGetCapabilitiesRequestGetURL()
           
 String getGetCapabilitiesRequestPostURL()
           
 String[] getGetMapFormats()
           
 String getGetMapRequestGetURL()
           
 String getGetMapRequestPostURL()
           
 String getIdentifier(Element identifier)
           
 String getIdentifierAuthority(Element identifier)
           
 String[] getKeywordList()
           
 Element getLayer()
           
 String getLayerAbstract(Element layer)
           
 String getLayerAttributionLogoFormat(Element layer)
           
 String getLayerAttributionLogoHeight(Element layer)
           
 String getLayerAttributionLogoURL(Element layer)
           
 String getLayerAttributionLogoWidth(Element layer)
           
 String getLayerAttributionTitle(Element layer)
           
 String getLayerAttributionURL(Element layer)
           
 Element[] getLayerAuthorityURLs(Element layer)
           
abstract  BoundingBox[] getLayerBoundingBoxes(Element layer)
           
 Element getLayerByName(String layerName)
           
 String getLayerCascaded(Element layer)
           
 String[] getLayerCRS(Element layer)
           
 String getLayerDataURL(Element layer)
           
 String getLayerDataURLFormat(Element layer)
           
 Element[] getLayerDimensions(Element layer)
           
 Element[] getLayerExtents(Element layer)
           
 String getLayerFeatureListFormat(Element layer)
           
 String getLayerFeatureListURL(Element layer)
           
 String getLayerFixedHeight(Element layer)
           
 String getLayerFixedWidth(Element layer)
           
abstract  BoundingBox getLayerGeographicBoundingBox(Element layer)
           
 Element[] getLayerIdentifiers(Element layer)
           
 String[] getLayerKeywordList(Element layer)
           
 String getLayerLimit()
           
abstract  String getLayerMaxScaleDenominator(Element layer)
           
 Element[] getLayerMetadataURLs(Element layer)
           
abstract  String getLayerMinScaleDenominator(Element layer)
           
 String getLayerName(Element layerElement)
           
 String getLayerNoSubsets(Element layer)
           
 String getLayerOpaque(Element layer)
           
 String getLayerQueryable(Element layer)
           
 String[] getLayerSRS(Element layer)
           
 Element getLayerStyleByName(Element layerElement, String styleName)
           
 Element[] getLayerStyles(Element layerElement)
           
 Element[] getLayerSubLayers(Element layer)
           
 String getLayerTitle(Element layerElement)
           
 String getMaxHeight()
           
 String getMaxWidth()
           
 String getMetadataFormat(Element metadata)
           
 String getMetadataType(Element metadata)
           
 String getMetadataURL(Element metadata)
           
 String getName()
           
 Element[] getNamedLayers()
           
 String getNorthBoundLatitude(Element bbox)
           
 String getOnlineResource()
           
 String getSouthBoundLatitude(Element bbox)
           
 String getStyleAbstract(Element styleElement)
           
 String getStyleLegendFormat(Element styleElement)
           
 String getStyleLegendHeight(Element styleElement)
           
 String getStyleLegendURL(Element styleElement)
           
 String getStyleLegendWidth(Element styleElement)
           
 String getStyleName(Element styleElement)
           
 String getStyleName(Element layerElement, Element styleElement)
           
 String getStyleSheetURL(Element styleElement)
           
 String getStyleSheetURLFormat(Element styleElement)
           
 String getStyleTitle(Element styleElement)
           
 String getStyleTitle(Element layerElement, Element styleElement)
           
 String getStyleURL(Element styleElement)
           
 String getStyleURLFormat(Element styleElement)
           
protected  String getText(Element context, String path)
           
protected  String getText(String path)
           
protected  String[] getTextArray(Element context, String path)
           
 String getTitle()
           
 Element[] getUniqueElements(Element context, String path, String uniqueTag)
           
protected  String[] getUniqueText(Element context, String path)
           
 String getUpdateSequence()
           
 String getVendorSpecificCapabilities()
           
 String getVersion()
           
 String getWestBoundLongitude(Element bbox)
           
static Capabilities parse(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

capability

protected Element capability

doc

protected Document doc

service

protected Element service

styleElements

protected HashMap<Element,Capabilities.Style> styleElements

xpath

protected XPath xpath
Constructor Detail

Capabilities

protected Capabilities(Document doc,
                       XPath xpath)
Method Detail

getAbstract

public String getAbstract()

getAccessConstraints

public String getAccessConstraints()

getAuthorityName

public String getAuthorityName(Element authority)

getAuthorityURL

public String getAuthorityURL(Element authority)

getBoundingBoxCRS

public String getBoundingBoxCRS(Element bbox)

getBoundingBoxMaxx

public String getBoundingBoxMaxx(Element bbox)

getBoundingBoxMaxy

public String getBoundingBoxMaxy(Element bbox)

getBoundingBoxMinx

public String getBoundingBoxMinx(Element bbox)

getBoundingBoxMiny

public String getBoundingBoxMiny(Element bbox)

getBoundingBoxResx

public String getBoundingBoxResx(Element bbox)

getBoundingBoxResy

public String getBoundingBoxResy(Element bbox)

getBoundingBoxSRS

public String getBoundingBoxSRS(Element bbox)

getContactOrganization

public String getContactOrganization()

getContactPerson

public String getContactPerson()

getDimensionCurrent

public String getDimensionCurrent(Element dimension)

getDimensionDefault

public String getDimensionDefault(Element dimension)

getDimensionExtent

public String getDimensionExtent(Element dimension)

getDimensionMultipleValues

public String getDimensionMultipleValues(Element dimension)

getDimensionName

public String getDimensionName(Element dimension)

getDimensionNearestValue

public String getDimensionNearestValue(Element dimension)

getDimensionUnits

public String getDimensionUnits(Element dimension)

getDimensionUnitSymbol

public String getDimensionUnitSymbol(Element dimension)

getEastBoundLongitude

public String getEastBoundLongitude(Element bbox)

getElement

protected Element getElement(Element context,
                             String path)

getElements

protected Element[] getElements(Element context,
                                String path)

getExceptionFormats

public String[] getExceptionFormats()

getExtentCurrent

public String getExtentCurrent(Element dimension)

getExtentDefault

public String getExtentDefault(Element dimension)

getExtentMultipleValues

public String getExtentMultipleValues(Element dimension)

getExtentName

public String getExtentName(Element dimension)

getExtentNearestValue

public String getExtentNearestValue(Element dimension)

getExtentText

public String getExtentText(Element dimension)

getFeatureInfoRequestGetURL

public String getFeatureInfoRequestGetURL()

getFeatureInfoRequestPostURL

public String getFeatureInfoRequestPostURL()

getFees

public String getFees()

getGetCapabilitiesFormats

public String[] getGetCapabilitiesFormats()

getGetCapabilitiesRequestGetURL

public String getGetCapabilitiesRequestGetURL()

getGetCapabilitiesRequestPostURL

public String getGetCapabilitiesRequestPostURL()

getGetMapFormats

public String[] getGetMapFormats()

getGetMapRequestGetURL

public String getGetMapRequestGetURL()

getGetMapRequestPostURL

public String getGetMapRequestPostURL()

getIdentifier

public String getIdentifier(Element identifier)

getIdentifierAuthority

public String getIdentifierAuthority(Element identifier)

getKeywordList

public String[] getKeywordList()

getLayer

public Element getLayer()

getLayerAbstract

public String getLayerAbstract(Element layer)

getLayerAttributionLogoFormat

public String getLayerAttributionLogoFormat(Element layer)

getLayerAttributionLogoHeight

public String getLayerAttributionLogoHeight(Element layer)

getLayerAttributionLogoURL

public String getLayerAttributionLogoURL(Element layer)

getLayerAttributionLogoWidth

public String getLayerAttributionLogoWidth(Element layer)

getLayerAttributionTitle

public String getLayerAttributionTitle(Element layer)

getLayerAttributionURL

public String getLayerAttributionURL(Element layer)

getLayerAuthorityURLs

public Element[] getLayerAuthorityURLs(Element layer)

getLayerBoundingBoxes

public abstract BoundingBox[] getLayerBoundingBoxes(Element layer)

getLayerByName

public Element getLayerByName(String layerName)

getLayerCascaded

public String getLayerCascaded(Element layer)

getLayerCRS

public String[] getLayerCRS(Element layer)

getLayerDataURL

public String getLayerDataURL(Element layer)

getLayerDataURLFormat

public String getLayerDataURLFormat(Element layer)

getLayerDimensions

public Element[] getLayerDimensions(Element layer)

getLayerExtents

public Element[] getLayerExtents(Element layer)

getLayerFeatureListFormat

public String getLayerFeatureListFormat(Element layer)

getLayerFeatureListURL

public String getLayerFeatureListURL(Element layer)

getLayerFixedHeight

public String getLayerFixedHeight(Element layer)

getLayerFixedWidth

public String getLayerFixedWidth(Element layer)

getLayerGeographicBoundingBox

public abstract BoundingBox getLayerGeographicBoundingBox(Element layer)

getLayerIdentifiers

public Element[] getLayerIdentifiers(Element layer)

getLayerKeywordList

public String[] getLayerKeywordList(Element layer)

getLayerLimit

public String getLayerLimit()

getLayerMaxScaleDenominator

public abstract String getLayerMaxScaleDenominator(Element layer)

getLayerMetadataURLs

public Element[] getLayerMetadataURLs(Element layer)

getLayerMinScaleDenominator

public abstract String getLayerMinScaleDenominator(Element layer)

getLayerName

public String getLayerName(Element layerElement)

getLayerNoSubsets

public String getLayerNoSubsets(Element layer)

getLayerOpaque

public String getLayerOpaque(Element layer)

getLayerQueryable

public String getLayerQueryable(Element layer)

getLayerSRS

public String[] getLayerSRS(Element layer)

getLayerStyleByName

public Element getLayerStyleByName(Element layerElement,
                                   String styleName)

getLayerStyles

public Element[] getLayerStyles(Element layerElement)

getLayerSubLayers

public Element[] getLayerSubLayers(Element layer)

getLayerTitle

public String getLayerTitle(Element layerElement)

getMaxHeight

public String getMaxHeight()

getMaxWidth

public String getMaxWidth()

getMetadataFormat

public String getMetadataFormat(Element metadata)

getMetadataType

public String getMetadataType(Element metadata)

getMetadataURL

public String getMetadataURL(Element metadata)

getName

public String getName()

getNamedLayers

public Element[] getNamedLayers()

getNorthBoundLatitude

public String getNorthBoundLatitude(Element bbox)

getOnlineResource

public String getOnlineResource()

getSouthBoundLatitude

public String getSouthBoundLatitude(Element bbox)

getStyleAbstract

public String getStyleAbstract(Element styleElement)

getStyleLegendFormat

public String getStyleLegendFormat(Element styleElement)

getStyleLegendHeight

public String getStyleLegendHeight(Element styleElement)

getStyleLegendURL

public String getStyleLegendURL(Element styleElement)

getStyleLegendWidth

public String getStyleLegendWidth(Element styleElement)

getStyleName

public String getStyleName(Element styleElement)

getStyleName

public String getStyleName(Element layerElement,
                           Element styleElement)

getStyleSheetURL

public String getStyleSheetURL(Element styleElement)

getStyleSheetURLFormat

public String getStyleSheetURLFormat(Element styleElement)

getStyleTitle

public String getStyleTitle(Element styleElement)

getStyleTitle

public String getStyleTitle(Element layerElement,
                            Element styleElement)

getStyleURL

public String getStyleURL(Element styleElement)

getStyleURLFormat

public String getStyleURLFormat(Element styleElement)

getText

protected String getText(Element context,
                         String path)

getText

protected String getText(String path)

getTextArray

protected String[] getTextArray(Element context,
                                String path)

getTitle

public String getTitle()

getUniqueElements

public Element[] getUniqueElements(Element context,
                                   String path,
                                   String uniqueTag)

getUniqueText

protected String[] getUniqueText(Element context,
                                 String path)

getUpdateSequence

public String getUpdateSequence()

getVendorSpecificCapabilities

public String getVendorSpecificCapabilities()

getVersion

public String getVersion()

getWestBoundLongitude

public String getWestBoundLongitude(Element bbox)

parse

public static Capabilities parse(Document doc)

NASA World Wind