public class WMSCapabilityInformation extends OGCCapabilityInformation
Modifier and Type | Field and Description |
---|---|
protected QName |
LAYER |
protected List<WMSLayerCapabilities> |
layerCapabilities |
protected List<QName> |
requestNames |
EXCEPTION, exceptionFormats, EXTENDED_CAPABILITIES, FORMAT, REQUEST, requestDescriptions, USER_DEFINED_SYMBOLIZATION, userDefinedSymbolization
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WMSCapabilityInformation(String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
XMLEventParser |
allocate(XMLEventParserContext ctx,
XMLEvent event)
Create a parser for a specified event.
|
protected void |
doParseEventContent(XMLEventParserContext ctx,
XMLEvent event,
Object... args)
Parse an event's sub-elements.
|
Set<String> |
getImageFormats() |
List<WMSLayerCapabilities> |
getLayerCapabilities() |
protected boolean |
isRequestName(XMLEventParserContext ctx,
QName name) |
protected void |
setLayerCapabilities(List<WMSLayerCapabilities> layerCapabilities) |
addUserDefinedSymbolization, getExceptionFormats, getRequestDescriptions, getUserDefinedSymbolization, parseExtendedCapabilities, parseUserDefinedSymbolization, setExceptionFormats, setExtendedCapabilities, setRequestDescriptions, setUserDefinedSymbolization, toString
doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, 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 LAYER
protected List<WMSLayerCapabilities> layerCapabilities
public WMSCapabilityInformation(String namespaceURI)
public XMLEventParser allocate(XMLEventParserContext ctx, XMLEvent event)
AbstractXMLEventParser
allocate
in class OGCCapabilityInformation
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 doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
AbstractXMLEventParser
doParseEventContent
in class OGCCapabilityInformation
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 List<WMSLayerCapabilities> getLayerCapabilities()
protected boolean isRequestName(XMLEventParserContext ctx, QName name)
isRequestName
in class OGCCapabilityInformation
protected void setLayerCapabilities(List<WMSLayerCapabilities> layerCapabilities)