gov.nasa.worldwind.ogc.wms
Class WMSLayerCapabilities
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.wms.WMSLayerCapabilities
- All Implemented Interfaces:
- XMLEventParser
public class WMSLayerCapabilities
- extends AbstractXMLEventParser
Parses a WMS Layer element.
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
doAddCharacters, doAddEventAttribute, doAddEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setParent |
ABSTRACT
protected QName ABSTRACT
ATTRIBUTION
protected QName ATTRIBUTION
attributions
protected Set<WMSLayerAttribution> attributions
AUTHORITY_URL
protected QName AUTHORITY_URL
authorityURLs
protected Set<WMSAuthorityURL> authorityURLs
BOUNDING_BOX
protected QName BOUNDING_BOX
boundingBoxes
protected Set<OGCBoundingBox> boundingBoxes
cascaded
protected Boolean cascaded
crs
protected Set<String> crs
CRS
protected QName CRS
DATA_URL
protected QName DATA_URL
dataURLs
protected Set<WMSLayerInfoURL> dataURLs
DIMENSION
protected QName DIMENSION
dimensions
protected Set<WMSLayerDimension> dimensions
enclosingCapabilityInformation
protected WMSCapabilityInformation enclosingCapabilityInformation
EXTENT
protected QName EXTENT
extents
protected Set<WMSLayerExtent> extents
EXTREME_ELEVATIONS
protected QName EXTREME_ELEVATIONS
extremeElevationMax
protected Double extremeElevationMax
extremeElevationMin
protected Double extremeElevationMin
FEATURE_LIST_URL
protected QName FEATURE_LIST_URL
featureListURLs
protected Set<WMSLayerInfoURL> featureListURLs
fixedHeight
protected Integer fixedHeight
fixedWidth
protected Integer fixedWidth
GEOGRAPHIC_BOUNDING_BOX
protected QName GEOGRAPHIC_BOUNDING_BOX
geographicBoundingBox
protected Sector geographicBoundingBox
IDENTIFIER
protected QName IDENTIFIER
identifiers
protected Set<WMSLayerIdentifier> identifiers
KEYWORD
protected QName KEYWORD
KEYWORD_LIST
protected QName KEYWORD_LIST
keywords
protected Set<String> keywords
LAST_UPDATE
protected QName LAST_UPDATE
lastUpdate
protected String lastUpdate
LAT_LON_BOUNDING_BOX
protected QName LAT_LON_BOUNDING_BOX
LAYER
protected QName LAYER
layerAbstract
protected String layerAbstract
layers
protected List<WMSLayerCapabilities> layers
MAX_SCALE_DENOMINATOR
protected QName MAX_SCALE_DENOMINATOR
maxScaleDenominator
protected Double maxScaleDenominator
maxScaleHint
protected Double maxScaleHint
METADATA_URL
protected QName METADATA_URL
metadataURLs
protected Set<WMSLayerInfoURL> metadataURLs
MIN_SCALE_DENOMINATOR
protected QName MIN_SCALE_DENOMINATOR
minScaleDenominator
protected Double minScaleDenominator
minScaleHint
protected Double minScaleHint
name
protected String name
NAME
protected QName NAME
noSubsets
protected Boolean noSubsets
opaque
protected Boolean opaque
parent
protected WMSLayerCapabilities parent
queryable
protected Boolean queryable
SCALE_HINT
protected QName SCALE_HINT
srs
protected Set<String> srs
SRS
protected QName SRS
STYLE
protected QName STYLE
styles
protected Set<WMSLayerStyle> styles
title
protected String title
TITLE
protected QName TITLE
WMSLayerCapabilities
public WMSLayerCapabilities(String namespaceURI)
addAttribution
protected void addAttribution(WMSLayerAttribution attribution)
addAttributions
protected void addAttributions(Set<WMSLayerAttribution> attribs)
addAuthorityURL
protected void addAuthorityURL(WMSAuthorityURL authorityURL)
addAuthorityURLs
protected void addAuthorityURLs(Set<WMSAuthorityURL> urls)
addBoundingBox
protected void addBoundingBox(OGCBoundingBox box)
addBoundingBoxes
protected void addBoundingBoxes(Set<OGCBoundingBox> boxes)
addCRS
protected void addCRS(Set<String> crss)
addCRS
protected void addCRS(String crs)
addDataURL
protected void addDataURL(WMSLayerInfoURL url)
addDataURLs
protected void addDataURLs(Set<WMSLayerInfoURL> urls)
addDimension
protected void addDimension(WMSLayerDimension dimension)
addDimensions
protected void addDimensions(Set<WMSLayerDimension> dims)
addExtent
protected void addExtent(WMSLayerExtent extent)
addExtents
protected void addExtents(Set<WMSLayerExtent> inExtents)
addFeatureListURL
protected void addFeatureListURL(WMSLayerInfoURL url)
addFeatureListURLs
protected void addFeatureListURLs(Set<WMSLayerInfoURL> urls)
addIdentifer
protected void addIdentifer(WMSLayerIdentifier identifier)
addIdentifiers
protected void addIdentifiers(Set<WMSLayerIdentifier> ids)
addLayer
protected void addLayer(WMSLayerCapabilities layer)
addLayers
protected void addLayers(Set<WMSLayerCapabilities> inLayers)
addMetadataURL
protected void addMetadataURL(WMSLayerInfoURL url)
addMetadataURLs
protected void addMetadataURLs(Set<WMSLayerInfoURL> urls)
addSRS
protected void addSRS(Set<String> srss)
addSRS
protected void addSRS(String srs)
addStyle
protected void addStyle(WMSLayerStyle style)
addStyles
protected void addStyles(Set<WMSLayerStyle> inStyles)
allocate
public XMLEventParser allocate(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event)
- Description copied from class:
AbstractXMLEventParser
- Create a parser for a specified event.
- Overrides:
allocate
in class AbstractXMLEventParser
- Parameters:
ctx
- the current parser context.event
- the event for which the parser is created. Only the event type is used; the new parser can operate
on any event of that type.
- Returns:
- the new parser.
doParseEventAttributes
protected void doParseEventAttributes(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent layerEvent,
Object... args)
- Description copied from class:
AbstractXMLEventParser
- Parse an event's attributes.
- Overrides:
doParseEventAttributes
in class AbstractXMLEventParser
- Parameters:
ctx
- a current parser context.layerEvent
- the event to parse.args
- an optional list of arguments that may by used by subclasses.
doParseEventContent
protected void doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
Object... args)
throws javax.xml.stream.XMLStreamException
- Description copied from class:
AbstractXMLEventParser
- Parse an event's sub-elements.
- Overrides:
doParseEventContent
in class AbstractXMLEventParser
- Parameters:
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.
- Throws:
javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.
getAttributions
public Set<WMSLayerAttribution> getAttributions()
getAuthorityURLs
public Set<WMSAuthorityURL> getAuthorityURLs()
getBoundingBoxes
public Set<OGCBoundingBox> getBoundingBoxes()
getCascaded
public Boolean getCascaded()
getCRS
public Set<String> getCRS()
getDataURLs
public Set<WMSLayerInfoURL> getDataURLs()
getDimensions
public Set<WMSLayerDimension> getDimensions()
getEnclosingCapabilityInformation
public WMSCapabilityInformation getEnclosingCapabilityInformation()
getExtents
public Set<WMSLayerExtent> getExtents()
getExtremeElevationMax
public Double getExtremeElevationMax()
getExtremeElevationMin
public Double getExtremeElevationMin()
getFeatureListURLs
public Set<WMSLayerInfoURL> getFeatureListURLs()
getFixedHeight
public Integer getFixedHeight()
getFixedWidth
public Integer getFixedWidth()
getGeographicBoundingBox
public Sector getGeographicBoundingBox()
getIdentifiers
public Set<WMSLayerIdentifier> getIdentifiers()
getKeywords
public Set<String> getKeywords()
getLastUpdate
public String getLastUpdate()
getLayerAbstract
public String getLayerAbstract()
getLayerByName
public WMSLayerCapabilities getLayerByName(String name)
getLayers
public List<WMSLayerCapabilities> getLayers()
getMaxScaleDenominator
public Double getMaxScaleDenominator()
getMaxScaleHint
public Double getMaxScaleHint()
getMetadataURLs
public Set<WMSLayerInfoURL> getMetadataURLs()
getMinScaleDenominator
public Double getMinScaleDenominator()
getMinScaleHint
public Double getMinScaleHint()
getName
public String getName()
getNamedLayers
public List<WMSLayerCapabilities> getNamedLayers()
getSRS
public Set<String> getSRS()
getStyleByName
public WMSLayerStyle getStyleByName(String name)
getStyles
public Set<WMSLayerStyle> getStyles()
getTitle
public String getTitle()
isLeaf
public boolean isLeaf()
isNoSubsets
public Boolean isNoSubsets()
isOpaque
public Boolean isOpaque()
isQueryable
public Boolean isQueryable()
parseBooleanLayerAttribute
protected Boolean parseBooleanLayerAttribute(String s)
parseExtremeElevations
protected void parseExtremeElevations(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent layerEvent)
parseGeographicBoundingBox
protected void parseGeographicBoundingBox(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent bboxEvent)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
parseGeographicBoundingBoxV111
protected void parseGeographicBoundingBoxV111(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent bboxEvent)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
parseScaleHint
protected void parseScaleHint(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent bboxEvent)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
resolveAttributes
public void resolveAttributes(WMSLayerCapabilities parentLayer)
setAttributions
protected void setAttributions(Set<WMSLayerAttribution> attributions)
setAuthorityURLs
protected void setAuthorityURLs(Set<WMSAuthorityURL> urls)
setBoundingBoxes
protected void setBoundingBoxes(Set<OGCBoundingBox> boxes)
setCascaded
protected void setCascaded(Boolean cascaded)
setCRS
protected void setCRS(Set<String> crs)
setDimensions
protected void setDimensions(Set<WMSLayerDimension> dimensions)
setEnclosingCapabilityInformation
public void setEnclosingCapabilityInformation(WMSCapabilityInformation caps)
setExtremeElevationMax
protected void setExtremeElevationMax(Double extremeElevationMax)
setExtremeElevationMin
protected void setExtremeElevationMin(Double extremeElevationMin)
setFixedHeight
protected void setFixedHeight(Integer height)
setFixedWidth
protected void setFixedWidth(Integer width)
setGeographicBoundingBox
protected void setGeographicBoundingBox(Sector geographicBoundingBox)
setKeywords
protected void setKeywords(Set<String> keywords)
setLastUpdate
protected void setLastUpdate(String lastUpdate)
setLayerAbstract
protected void setLayerAbstract(String layerAbstract)
setMaxScaleDenominator
protected void setMaxScaleDenominator(Double maxScaleDenominator)
setMaxScaleHint
protected void setMaxScaleHint(Double scaleHint)
setMinScaleDenominator
protected void setMinScaleDenominator(Double minScaleDenominator)
setMinScaleHint
protected void setMinScaleHint(Double scaleHint)
setName
protected void setName(String name)
setNoSubsets
protected void setNoSubsets(Boolean noSubsets)
setOpaque
protected void setOpaque(Boolean opaque)
setQueryable
protected void setQueryable(Boolean queryable)
setSRS
protected void setSRS(Set<String> srs)
setStyles
protected void setStyles(Set<WMSLayerStyle> styles)
setTitle
protected void setTitle(String title)
toString
public String toString()
- Overrides:
toString
in class Object