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