gov.nasa.worldwind.ogc
Class OGCCapabilityInformation
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.OGCCapabilityInformation
- All Implemented Interfaces:
- XMLEventParser
- Direct Known Subclasses:
- WMSCapabilityInformation
public abstract class OGCCapabilityInformation
- extends AbstractXMLEventParser
Parses an OGC Capability element.
Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
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, setParent |
EXCEPTION
protected QName EXCEPTION
exceptionFormats
protected Set<String> exceptionFormats
EXTENDED_CAPABILITIES
protected QName EXTENDED_CAPABILITIES
FORMAT
protected QName FORMAT
REQUEST
protected QName REQUEST
requestDescriptions
protected Set<OGCRequestDescription> requestDescriptions
USER_DEFINED_SYMBOLIZATION
protected QName USER_DEFINED_SYMBOLIZATION
userDefinedSymbolization
protected Map<String,String> userDefinedSymbolization
OGCCapabilityInformation
public OGCCapabilityInformation(String namespaceURI)
addUserDefinedSymbolization
protected void addUserDefinedSymbolization(String key,
String value)
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.
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.
getExceptionFormats
public Set<String> getExceptionFormats()
getRequestDescriptions
public Set<OGCRequestDescription> getRequestDescriptions()
getUserDefinedSymbolization
public Map<String,String> getUserDefinedSymbolization()
isRequestName
protected abstract boolean isRequestName(XMLEventParserContext ctx,
QName name)
parseExtendedCapabilities
protected void parseExtendedCapabilities(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
Object... args)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
parseUserDefinedSymbolization
protected void parseUserDefinedSymbolization(javax.xml.stream.events.XMLEvent event)
throws javax.xml.stream.XMLStreamException
- Throws:
javax.xml.stream.XMLStreamException
setExceptionFormats
protected void setExceptionFormats(Set<String> exceptionFormats)
setExtendedCapabilities
protected void setExtendedCapabilities(Object extendedCapabilities)
setRequestDescriptions
protected void setRequestDescriptions(Set<OGCRequestDescription> requestDescriptions)
setUserDefinedSymbolization
protected void setUserDefinedSymbolization(Map<String,String> userDefinedSymbolization)
toString
public String toString()
- Overrides:
toString
in class Object