public class WCS100Capabilities extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected javax.xml.stream.XMLEventReader |
eventReader |
protected XMLEventParserContext |
parserContext |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WCS100Capabilities(java.lang.Object docSource) |
Modifier and Type | Method and Description |
---|---|
protected XMLEventParserContext |
createParserContext(javax.xml.stream.XMLEventReader reader) |
protected javax.xml.stream.XMLEventReader |
createReader(java.lang.Object docSource) |
WCS100Capability |
getCapability() |
WCS100ContentMetadata |
getContentMetadata() |
XMLEventParserContext |
getParserContext() |
WCS100Service |
getService() |
java.lang.String |
getUpdateSequence()
Returns the document's update sequence.
|
java.lang.String |
getVersion()
Returns the document's version number.
|
protected void |
initialize() |
WCS100Capabilities |
parse(java.lang.Object... args)
Starts document parsing.
|
protected void |
registerParsers(XMLEventParserContext ctx) |
static WCS100Capabilities |
retrieve(java.net.URI uri)
Retrieves the WCS capabilities document from a specified WCS server.
|
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, 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.stream.XMLEventReader eventReader
protected XMLEventParserContext parserContext
protected XMLEventParserContext createParserContext(javax.xml.stream.XMLEventReader reader)
protected javax.xml.stream.XMLEventReader createReader(java.lang.Object docSource)
public WCS100Capability getCapability()
public WCS100ContentMetadata getContentMetadata()
public XMLEventParserContext getParserContext()
public WCS100Service getService()
public java.lang.String getUpdateSequence()
public java.lang.String getVersion()
protected void initialize()
public WCS100Capabilities parse(java.lang.Object... args) throws javax.xml.stream.XMLStreamException
args
- optional arguments to pass to parsers of sub-elements.this
if parsing is successful, otherwise null.javax.xml.stream.XMLStreamException
- if an exception occurs while attempting to read the event stream.protected void registerParsers(XMLEventParserContext ctx)
public static WCS100Capabilities retrieve(java.net.URI uri) throws java.lang.Exception
uri
- The URI of the server.java.lang.IllegalArgumentException
- if the specified URI is invalid.WWRuntimeException
- if an error occurs retrieving the document.java.lang.Exception