public class WMSLayerCapabilities extends AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI
Constructor and Description |
---|
WMSLayerCapabilities(String namespaceURI) |
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 QName ABSTRACT
protected QName ATTRIBUTION
protected Set<WMSLayerAttribution> attributions
protected QName AUTHORITY_URL
protected Set<WMSAuthorityURL> authorityURLs
protected QName BOUNDING_BOX
protected Set<OGCBoundingBox> boundingBoxes
protected Boolean cascaded
protected QName CRS
protected QName DATA_URL
protected Set<WMSLayerInfoURL> dataURLs
protected QName DIMENSION
protected Set<WMSLayerDimension> dimensions
protected WMSCapabilityInformation enclosingCapabilityInformation
protected QName EXTENT
protected Set<WMSLayerExtent> extents
protected QName EXTREME_ELEVATIONS
protected Double extremeElevationMax
protected Double extremeElevationMin
protected QName FEATURE_LIST_URL
protected Set<WMSLayerInfoURL> featureListURLs
protected Integer fixedHeight
protected Integer fixedWidth
protected QName GEOGRAPHIC_BOUNDING_BOX
protected Sector geographicBoundingBox
protected QName IDENTIFIER
protected Set<WMSLayerIdentifier> identifiers
protected QName KEYWORD
protected QName KEYWORD_LIST
protected QName LAST_UPDATE
protected String lastUpdate
protected QName LAT_LON_BOUNDING_BOX
protected QName LAYER
protected String layerAbstract
protected List<WMSLayerCapabilities> layers
protected QName MAX_SCALE_DENOMINATOR
protected Double maxScaleDenominator
protected Double maxScaleHint
protected QName METADATA_URL
protected Set<WMSLayerInfoURL> metadataURLs
protected QName MIN_SCALE_DENOMINATOR
protected Double minScaleDenominator
protected Double minScaleHint
protected String name
protected QName NAME
protected Boolean noSubsets
protected Boolean opaque
protected WMSLayerCapabilities parent
protected Boolean queryable
protected QName SCALE_HINT
protected QName SRS
protected QName STYLE
protected Set<WMSLayerStyle> styles
protected String title
protected QName TITLE
public WMSLayerCapabilities(String namespaceURI)
protected void addAttribution(WMSLayerAttribution attribution)
protected void addAttributions(Set<WMSLayerAttribution> attribs)
protected void addAuthorityURL(WMSAuthorityURL authorityURL)
protected void addAuthorityURLs(Set<WMSAuthorityURL> urls)
protected void addBoundingBox(OGCBoundingBox box)
protected void addBoundingBoxes(Set<OGCBoundingBox> boxes)
protected void addCRS(String crs)
protected void addDataURL(WMSLayerInfoURL url)
protected void addDataURLs(Set<WMSLayerInfoURL> urls)
protected void addDimension(WMSLayerDimension dimension)
protected void addDimensions(Set<WMSLayerDimension> dims)
protected void addExtent(WMSLayerExtent extent)
protected void addExtents(Set<WMSLayerExtent> inExtents)
protected void addFeatureListURL(WMSLayerInfoURL url)
protected void addFeatureListURLs(Set<WMSLayerInfoURL> urls)
protected void addIdentifer(WMSLayerIdentifier identifier)
protected void addIdentifiers(Set<WMSLayerIdentifier> ids)
protected void addLayer(WMSLayerCapabilities layer)
protected void addLayers(Set<WMSLayerCapabilities> inLayers)
protected void addMetadataURL(WMSLayerInfoURL url)
protected void addMetadataURLs(Set<WMSLayerInfoURL> urls)
protected void addSRS(String srs)
protected void addStyle(WMSLayerStyle style)
protected void addStyles(Set<WMSLayerStyle> inStyles)
public XMLEventParser allocate(XMLEventParserContext ctx, 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, XMLEvent layerEvent, 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, XMLEvent event, Object... args) throws 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.XMLStreamException
- if an exception occurs during event-stream reading.public Set<WMSLayerAttribution> getAttributions()
public Set<WMSAuthorityURL> getAuthorityURLs()
public Set<OGCBoundingBox> getBoundingBoxes()
public Boolean getCascaded()
public Set<WMSLayerInfoURL> getDataURLs()
public Set<WMSLayerDimension> getDimensions()
public WMSCapabilityInformation getEnclosingCapabilityInformation()
public Set<WMSLayerExtent> getExtents()
public Double getExtremeElevationMax()
public Double getExtremeElevationMin()
public Set<WMSLayerInfoURL> getFeatureListURLs()
public Integer getFixedHeight()
public Integer getFixedWidth()
public Sector getGeographicBoundingBox()
public Set<WMSLayerIdentifier> getIdentifiers()
public String getLastUpdate()
public String getLayerAbstract()
public WMSLayerCapabilities getLayerByName(String name)
public List<WMSLayerCapabilities> getLayers()
public Double getMaxScaleDenominator()
public Double getMaxScaleHint()
public Set<WMSLayerInfoURL> getMetadataURLs()
public Double getMinScaleDenominator()
public Double getMinScaleHint()
public String getName()
public List<WMSLayerCapabilities> getNamedLayers()
public WMSLayerStyle getStyleByName(String name)
public Set<WMSLayerStyle> getStyles()
public String getTitle()
public boolean hasCoordinateSystem(String coordSys)
public boolean isLeaf()
public Boolean isNoSubsets()
public Boolean isOpaque()
public Boolean isQueryable()
protected void parseExtremeElevations(XMLEventParserContext ctx, XMLEvent layerEvent)
protected void parseGeographicBoundingBox(XMLEventParserContext ctx, XMLEvent bboxEvent) throws XMLStreamException
XMLStreamException
protected void parseGeographicBoundingBoxV111(XMLEventParserContext ctx, XMLEvent bboxEvent) throws XMLStreamException
XMLStreamException
protected void parseScaleHint(XMLEventParserContext ctx, XMLEvent bboxEvent) throws XMLStreamException
XMLStreamException
public void resolveAttributes(WMSLayerCapabilities parentLayer)
protected void setAttributions(Set<WMSLayerAttribution> attributions)
protected void setAuthorityURLs(Set<WMSAuthorityURL> urls)
protected void setBoundingBoxes(Set<OGCBoundingBox> boxes)
protected void setCascaded(Boolean cascaded)
protected void setDimensions(Set<WMSLayerDimension> dimensions)
public void setEnclosingCapabilityInformation(WMSCapabilityInformation caps)
protected void setExtremeElevationMax(Double extremeElevationMax)
protected void setExtremeElevationMin(Double extremeElevationMin)
protected void setFixedHeight(Integer height)
protected void setFixedWidth(Integer width)
protected void setGeographicBoundingBox(Sector geographicBoundingBox)
protected void setLastUpdate(String lastUpdate)
protected void setLayerAbstract(String layerAbstract)
protected void setMaxScaleDenominator(Double maxScaleDenominator)
protected void setMaxScaleHint(Double scaleHint)
protected void setMinScaleDenominator(Double minScaleDenominator)
protected void setMinScaleHint(Double scaleHint)
protected void setName(String name)
protected void setNoSubsets(Boolean noSubsets)
protected void setOpaque(Boolean opaque)
protected void setQueryable(Boolean queryable)
protected void setStyles(Set<WMSLayerStyle> styles)
protected void setTitle(String title)