gov.nasa.worldwind.ogc
Class OGCServiceInformation
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.OGCServiceInformation
- All Implemented Interfaces:
- XMLEventParser
- Direct Known Subclasses:
- WMSServiceInformation
public class OGCServiceInformation
- extends AbstractXMLEventParser
Parses an OGC Service 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 |
ABSTRACT
protected QName ABSTRACT
ACCESS_CONSTRAINTS
protected QName ACCESS_CONSTRAINTS
accessConstraints
protected String accessConstraints
CONTACT_INFORMATION
protected QName CONTACT_INFORMATION
contactInformation
protected OGCContactInformation contactInformation
fees
protected String fees
FEES
protected QName FEES
KEYWORD
protected QName KEYWORD
KEYWORD_LIST
protected QName KEYWORD_LIST
keywords
protected Set<String> keywords
NAME
protected QName NAME
ONLINE_RESOURCE
protected QName ONLINE_RESOURCE
onlineResource
protected OGCOnlineResource onlineResource
serviceAbstract
protected String serviceAbstract
serviceName
protected String serviceName
serviceTitle
protected String serviceTitle
TITLE
protected QName TITLE
OGCServiceInformation
public OGCServiceInformation(String namespaceURI)
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.
getAccessConstraints
public String getAccessConstraints()
getContactInformation
public OGCContactInformation getContactInformation()
getFees
public String getFees()
getKeywords
public Set<String> getKeywords()
getOnlineResource
public OGCOnlineResource getOnlineResource()
getServiceAbstract
public String getServiceAbstract()
getServiceName
public String getServiceName()
getServiceTitle
public String getServiceTitle()
keywordsToString
protected void keywordsToString(StringBuilder sb)
setAccessConstraints
protected void setAccessConstraints(String accessConstraints)
setContactInformation
protected void setContactInformation(OGCContactInformation contactInformation)
setFees
protected void setFees(String fees)
setKeywords
protected void setKeywords(Set<String> keywords)
setOnlineResource
protected void setOnlineResource(OGCOnlineResource onlineResource)
setServiceAbstract
protected void setServiceAbstract(String serviceAbstract)
setServiceName
protected void setServiceName(String serviceName)
setServiceTitle
protected void setServiceTitle(String serviceTitle)
toString
public String toString()
- Overrides:
toString
in class Object