public abstract class Capabilities
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Capabilities.Layer |
protected static class |
Capabilities.Style |
Modifier and Type | Field and Description |
---|---|
protected org.w3c.dom.Element |
capability |
protected java.net.URL |
capsURL |
protected org.w3c.dom.Document |
doc |
protected org.w3c.dom.Element |
service |
protected java.util.HashMap<org.w3c.dom.Element,Capabilities.Style> |
styleElements |
static java.lang.String |
WMS_SERVICE_NAME |
protected javax.xml.xpath.XPath |
xpath |
Modifier | Constructor and Description |
---|---|
protected |
Capabilities(org.w3c.dom.Document doc,
javax.xml.xpath.XPath xpath) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbstract() |
java.lang.String |
getAccessConstraints() |
java.lang.String |
getAuthorityName(org.w3c.dom.Element authority) |
java.lang.String |
getAuthorityURL(org.w3c.dom.Element authority) |
java.lang.String |
getBoundingBoxCRS(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxMaxx(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxMaxy(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxMinx(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxMiny(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxResx(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxResy(org.w3c.dom.Element bbox) |
java.lang.String |
getBoundingBoxSRS(org.w3c.dom.Element bbox) |
java.net.URL |
getCapsURL() |
java.lang.String |
getContactOrganization() |
java.lang.String |
getContactPerson() |
java.lang.String |
getDimensionCurrent(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionDefault(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionExtent(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionMultipleValues(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionName(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionNearestValue(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionUnits(org.w3c.dom.Element dimension) |
java.lang.String |
getDimensionUnitSymbol(org.w3c.dom.Element dimension) |
org.w3c.dom.Document |
getDocument() |
java.lang.String |
getEastBoundLongitude(org.w3c.dom.Element bbox) |
protected org.w3c.dom.Element |
getElement(org.w3c.dom.Element context,
java.lang.String path) |
protected org.w3c.dom.Element[] |
getElements(org.w3c.dom.Element context,
java.lang.String path) |
java.lang.String[] |
getExceptionFormats() |
java.lang.String |
getExtentCurrent(org.w3c.dom.Element dimension) |
java.lang.String |
getExtentDefault(org.w3c.dom.Element dimension) |
java.lang.String |
getExtentMultipleValues(org.w3c.dom.Element dimension) |
java.lang.String |
getExtentName(org.w3c.dom.Element dimension) |
java.lang.String |
getExtentNearestValue(org.w3c.dom.Element dimension) |
java.lang.String |
getExtentText(org.w3c.dom.Element dimension) |
java.lang.String |
getFeatureInfoRequestGetURL() |
java.lang.String |
getFeatureInfoRequestPostURL() |
java.lang.String |
getFees() |
java.lang.String[] |
getGetCapabilitiesFormats() |
java.lang.String |
getGetCapabilitiesRequestGetURL() |
java.lang.String |
getGetCapabilitiesRequestPostURL() |
java.lang.String[] |
getGetMapFormats() |
java.lang.String |
getGetMapRequestGetURL() |
java.lang.String |
getGetMapRequestPostURL() |
java.lang.String |
getIdentifier(org.w3c.dom.Element identifier) |
java.lang.String |
getIdentifierAuthority(org.w3c.dom.Element identifier) |
java.lang.String[] |
getKeywordList() |
org.w3c.dom.Element |
getLayer() |
java.lang.String |
getLayerAbstract(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionLogoFormat(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionLogoHeight(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionLogoURL(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionLogoWidth(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionTitle(org.w3c.dom.Element layer) |
java.lang.String |
getLayerAttributionURL(org.w3c.dom.Element layer) |
org.w3c.dom.Element[] |
getLayerAuthorityURLs(org.w3c.dom.Element layer) |
abstract BoundingBox[] |
getLayerBoundingBoxes(org.w3c.dom.Element layer) |
org.w3c.dom.Element |
getLayerByName(java.lang.String layerName) |
java.lang.String |
getLayerCascaded(org.w3c.dom.Element layer) |
java.lang.String[] |
getLayerCRS(org.w3c.dom.Element layer) |
java.lang.String |
getLayerDataURL(org.w3c.dom.Element layer) |
java.lang.String |
getLayerDataURLFormat(org.w3c.dom.Element layer) |
org.w3c.dom.Element[] |
getLayerDimensions(org.w3c.dom.Element layer) |
org.w3c.dom.Element[] |
getLayerExtents(org.w3c.dom.Element layer) |
java.lang.Double[] |
getLayerExtremeElevations(Capabilities caps,
java.lang.String[] layerNames) |
java.lang.String |
getLayerExtremeElevationsMax(org.w3c.dom.Element layer) |
java.lang.String |
getLayerExtremeElevationsMin(org.w3c.dom.Element layer) |
java.lang.String |
getLayerFeatureListFormat(org.w3c.dom.Element layer) |
java.lang.String |
getLayerFeatureListURL(org.w3c.dom.Element layer) |
java.lang.String |
getLayerFixedHeight(org.w3c.dom.Element layer) |
java.lang.String |
getLayerFixedWidth(org.w3c.dom.Element layer) |
abstract BoundingBox |
getLayerGeographicBoundingBox(org.w3c.dom.Element layer) |
org.w3c.dom.Element[] |
getLayerIdentifiers(org.w3c.dom.Element layer) |
java.lang.String[] |
getLayerKeywordList(org.w3c.dom.Element layer) |
java.lang.String |
getLayerLastUpdate(org.w3c.dom.Element layer) |
java.lang.Long |
getLayerLatestLastUpdateTime(Capabilities caps,
java.lang.String[] layerNames) |
java.lang.String |
getLayerLimit() |
abstract java.lang.String |
getLayerMaxScaleDenominator(org.w3c.dom.Element layer) |
org.w3c.dom.Element[] |
getLayerMetadataURLs(org.w3c.dom.Element layer) |
abstract java.lang.String |
getLayerMinScaleDenominator(org.w3c.dom.Element layer) |
java.lang.String |
getLayerName(org.w3c.dom.Element layerElement) |
java.lang.String |
getLayerNoSubsets(org.w3c.dom.Element layer) |
java.lang.String |
getLayerOpaque(org.w3c.dom.Element layer) |
java.lang.String |
getLayerQueryable(org.w3c.dom.Element layer) |
java.lang.String[] |
getLayerSRS(org.w3c.dom.Element layer) |
org.w3c.dom.Element |
getLayerStyleByName(org.w3c.dom.Element layerElement,
java.lang.String styleName) |
org.w3c.dom.Element[] |
getLayerStyles(org.w3c.dom.Element layerElement) |
org.w3c.dom.Element[] |
getLayerSubLayers(org.w3c.dom.Element layer) |
java.lang.String |
getLayerTitle(org.w3c.dom.Element layerElement) |
java.lang.String |
getMaxHeight() |
java.lang.String |
getMaxWidth() |
java.lang.String |
getMetadataFormat(org.w3c.dom.Element metadata) |
java.lang.String |
getMetadataType(org.w3c.dom.Element metadata) |
java.lang.String |
getMetadataURL(org.w3c.dom.Element metadata) |
org.w3c.dom.Element[] |
getNamedLayers() |
java.lang.String |
getNorthBoundLatitude(org.w3c.dom.Element bbox) |
java.lang.String |
getOnlineResource() |
java.lang.String |
getServiceName() |
java.lang.String |
getSouthBoundLatitude(org.w3c.dom.Element bbox) |
java.lang.String |
getStyleAbstract(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleLegendFormat(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleLegendHeight(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleLegendURL(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleLegendWidth(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleName(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleName(org.w3c.dom.Element layerElement,
org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleSheetURL(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleSheetURLFormat(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleTitle(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleTitle(org.w3c.dom.Element layerElement,
org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleURL(org.w3c.dom.Element styleElement) |
java.lang.String |
getStyleURLFormat(org.w3c.dom.Element styleElement) |
protected java.lang.String |
getText(org.w3c.dom.Element context,
java.lang.String path) |
protected java.lang.String |
getText(java.lang.String path) |
protected java.lang.String[] |
getTextArray(org.w3c.dom.Element context,
java.lang.String path) |
java.lang.String |
getTitle() |
protected org.w3c.dom.Element[] |
getUniqueElements(org.w3c.dom.Element context,
java.lang.String path,
java.lang.String uniqueTag) |
protected java.lang.String[] |
getUniqueText(org.w3c.dom.Element context,
java.lang.String path) |
java.lang.String |
getUpdateSequence() |
java.lang.String |
getVendorSpecificCapabilities() |
java.lang.String |
getVersion() |
java.lang.String |
getWestBoundLongitude(org.w3c.dom.Element bbox) |
static Capabilities |
parse(org.w3c.dom.Document doc) |
static Capabilities |
retrieve(java.net.URI uri,
java.lang.Integer connectTimeout,
java.lang.Integer readTimeout) |
static Capabilities |
retrieve(java.net.URI uri,
java.lang.String service) |
static Capabilities |
retrieve(java.net.URI uri,
java.lang.String service,
java.lang.Integer connectTimeout,
java.lang.Integer readTimeout) |
protected org.w3c.dom.Element capability
protected java.net.URL capsURL
protected org.w3c.dom.Document doc
protected org.w3c.dom.Element service
protected java.util.HashMap<org.w3c.dom.Element,Capabilities.Style> styleElements
public static final java.lang.String WMS_SERVICE_NAME
protected javax.xml.xpath.XPath xpath
protected Capabilities(org.w3c.dom.Document doc, javax.xml.xpath.XPath xpath)
public java.lang.String getAbstract()
public java.lang.String getAccessConstraints()
public java.lang.String getAuthorityName(org.w3c.dom.Element authority)
public java.lang.String getAuthorityURL(org.w3c.dom.Element authority)
public java.lang.String getBoundingBoxCRS(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxMaxx(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxMaxy(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxMinx(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxMiny(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxResx(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxResy(org.w3c.dom.Element bbox)
public java.lang.String getBoundingBoxSRS(org.w3c.dom.Element bbox)
public java.net.URL getCapsURL()
public java.lang.String getContactOrganization()
public java.lang.String getContactPerson()
public java.lang.String getDimensionCurrent(org.w3c.dom.Element dimension)
public java.lang.String getDimensionDefault(org.w3c.dom.Element dimension)
public java.lang.String getDimensionExtent(org.w3c.dom.Element dimension)
public java.lang.String getDimensionMultipleValues(org.w3c.dom.Element dimension)
public java.lang.String getDimensionName(org.w3c.dom.Element dimension)
public java.lang.String getDimensionNearestValue(org.w3c.dom.Element dimension)
public java.lang.String getDimensionUnits(org.w3c.dom.Element dimension)
public java.lang.String getDimensionUnitSymbol(org.w3c.dom.Element dimension)
public org.w3c.dom.Document getDocument()
public java.lang.String getEastBoundLongitude(org.w3c.dom.Element bbox)
protected org.w3c.dom.Element getElement(org.w3c.dom.Element context, java.lang.String path)
protected org.w3c.dom.Element[] getElements(org.w3c.dom.Element context, java.lang.String path)
public java.lang.String[] getExceptionFormats()
public java.lang.String getExtentCurrent(org.w3c.dom.Element dimension)
public java.lang.String getExtentDefault(org.w3c.dom.Element dimension)
public java.lang.String getExtentMultipleValues(org.w3c.dom.Element dimension)
public java.lang.String getExtentName(org.w3c.dom.Element dimension)
public java.lang.String getExtentNearestValue(org.w3c.dom.Element dimension)
public java.lang.String getExtentText(org.w3c.dom.Element dimension)
public java.lang.String getFeatureInfoRequestGetURL()
public java.lang.String getFeatureInfoRequestPostURL()
public java.lang.String getFees()
public java.lang.String[] getGetCapabilitiesFormats()
public java.lang.String getGetCapabilitiesRequestGetURL()
public java.lang.String getGetCapabilitiesRequestPostURL()
public java.lang.String[] getGetMapFormats()
public java.lang.String getGetMapRequestGetURL()
public java.lang.String getGetMapRequestPostURL()
public java.lang.String getIdentifier(org.w3c.dom.Element identifier)
public java.lang.String getIdentifierAuthority(org.w3c.dom.Element identifier)
public java.lang.String[] getKeywordList()
public org.w3c.dom.Element getLayer()
public java.lang.String getLayerAbstract(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionLogoFormat(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionLogoHeight(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionLogoURL(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionLogoWidth(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionTitle(org.w3c.dom.Element layer)
public java.lang.String getLayerAttributionURL(org.w3c.dom.Element layer)
public org.w3c.dom.Element[] getLayerAuthorityURLs(org.w3c.dom.Element layer)
public abstract BoundingBox[] getLayerBoundingBoxes(org.w3c.dom.Element layer)
public org.w3c.dom.Element getLayerByName(java.lang.String layerName)
public java.lang.String getLayerCascaded(org.w3c.dom.Element layer)
public java.lang.String[] getLayerCRS(org.w3c.dom.Element layer)
public java.lang.String getLayerDataURL(org.w3c.dom.Element layer)
public java.lang.String getLayerDataURLFormat(org.w3c.dom.Element layer)
public org.w3c.dom.Element[] getLayerDimensions(org.w3c.dom.Element layer)
public org.w3c.dom.Element[] getLayerExtents(org.w3c.dom.Element layer)
public java.lang.Double[] getLayerExtremeElevations(Capabilities caps, java.lang.String[] layerNames)
public java.lang.String getLayerExtremeElevationsMax(org.w3c.dom.Element layer)
public java.lang.String getLayerExtremeElevationsMin(org.w3c.dom.Element layer)
public java.lang.String getLayerFeatureListFormat(org.w3c.dom.Element layer)
public java.lang.String getLayerFeatureListURL(org.w3c.dom.Element layer)
public java.lang.String getLayerFixedHeight(org.w3c.dom.Element layer)
public java.lang.String getLayerFixedWidth(org.w3c.dom.Element layer)
public abstract BoundingBox getLayerGeographicBoundingBox(org.w3c.dom.Element layer)
public org.w3c.dom.Element[] getLayerIdentifiers(org.w3c.dom.Element layer)
public java.lang.String[] getLayerKeywordList(org.w3c.dom.Element layer)
public java.lang.String getLayerLastUpdate(org.w3c.dom.Element layer)
public java.lang.Long getLayerLatestLastUpdateTime(Capabilities caps, java.lang.String[] layerNames)
public java.lang.String getLayerLimit()
public abstract java.lang.String getLayerMaxScaleDenominator(org.w3c.dom.Element layer)
public org.w3c.dom.Element[] getLayerMetadataURLs(org.w3c.dom.Element layer)
public abstract java.lang.String getLayerMinScaleDenominator(org.w3c.dom.Element layer)
public java.lang.String getLayerName(org.w3c.dom.Element layerElement)
public java.lang.String getLayerNoSubsets(org.w3c.dom.Element layer)
public java.lang.String getLayerOpaque(org.w3c.dom.Element layer)
public java.lang.String getLayerQueryable(org.w3c.dom.Element layer)
public java.lang.String[] getLayerSRS(org.w3c.dom.Element layer)
public org.w3c.dom.Element getLayerStyleByName(org.w3c.dom.Element layerElement, java.lang.String styleName)
public org.w3c.dom.Element[] getLayerStyles(org.w3c.dom.Element layerElement)
public org.w3c.dom.Element[] getLayerSubLayers(org.w3c.dom.Element layer)
public java.lang.String getLayerTitle(org.w3c.dom.Element layerElement)
public java.lang.String getMaxHeight()
public java.lang.String getMaxWidth()
public java.lang.String getMetadataFormat(org.w3c.dom.Element metadata)
public java.lang.String getMetadataType(org.w3c.dom.Element metadata)
public java.lang.String getMetadataURL(org.w3c.dom.Element metadata)
public org.w3c.dom.Element[] getNamedLayers()
public java.lang.String getNorthBoundLatitude(org.w3c.dom.Element bbox)
public java.lang.String getOnlineResource()
public java.lang.String getServiceName()
public java.lang.String getSouthBoundLatitude(org.w3c.dom.Element bbox)
public java.lang.String getStyleAbstract(org.w3c.dom.Element styleElement)
public java.lang.String getStyleLegendFormat(org.w3c.dom.Element styleElement)
public java.lang.String getStyleLegendHeight(org.w3c.dom.Element styleElement)
public java.lang.String getStyleLegendURL(org.w3c.dom.Element styleElement)
public java.lang.String getStyleLegendWidth(org.w3c.dom.Element styleElement)
public java.lang.String getStyleName(org.w3c.dom.Element styleElement)
public java.lang.String getStyleName(org.w3c.dom.Element layerElement, org.w3c.dom.Element styleElement)
public java.lang.String getStyleSheetURL(org.w3c.dom.Element styleElement)
public java.lang.String getStyleSheetURLFormat(org.w3c.dom.Element styleElement)
public java.lang.String getStyleTitle(org.w3c.dom.Element styleElement)
public java.lang.String getStyleTitle(org.w3c.dom.Element layerElement, org.w3c.dom.Element styleElement)
public java.lang.String getStyleURL(org.w3c.dom.Element styleElement)
public java.lang.String getStyleURLFormat(org.w3c.dom.Element styleElement)
protected java.lang.String getText(org.w3c.dom.Element context, java.lang.String path)
protected java.lang.String getText(java.lang.String path)
protected java.lang.String[] getTextArray(org.w3c.dom.Element context, java.lang.String path)
public java.lang.String getTitle()
protected org.w3c.dom.Element[] getUniqueElements(org.w3c.dom.Element context, java.lang.String path, java.lang.String uniqueTag)
protected java.lang.String[] getUniqueText(org.w3c.dom.Element context, java.lang.String path)
public java.lang.String getUpdateSequence()
public java.lang.String getVendorSpecificCapabilities()
public java.lang.String getVersion()
public java.lang.String getWestBoundLongitude(org.w3c.dom.Element bbox)
public static Capabilities parse(org.w3c.dom.Document doc)
public static Capabilities retrieve(java.net.URI uri, java.lang.Integer connectTimeout, java.lang.Integer readTimeout) throws java.lang.Exception
java.lang.Exception
public static Capabilities retrieve(java.net.URI uri, java.lang.String service) throws java.lang.Exception
java.lang.Exception
public static Capabilities retrieve(java.net.URI uri, java.lang.String service, java.lang.Integer connectTimeout, java.lang.Integer readTimeout) throws java.lang.Exception
java.lang.Exception