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