public class WCS100DescribeCoverage extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected java.util.List<WCS100CoverageOffering> |
coverageOfferings |
protected javax.xml.stream.XMLEventReader |
eventReader |
protected XMLEventParserContext |
parserContext |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WCS100DescribeCoverage(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) |
protected void |
doParseEventContent(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args)
Parse an event's sub-elements.
|
java.util.List<WCS100CoverageOffering> |
getCoverageOfferings() |
XMLEventParserContext |
getParserContext() |
java.lang.String |
getUpdateSequence()
Returns the document's update sequence.
|
java.lang.String |
getVersion()
Returns the document's version number.
|
protected void |
initialize() |
WCS100DescribeCoverage |
parse(java.lang.Object... args)
Starts document parsing.
|
protected void |
registerParsers(XMLEventParserContext ctx) |
static WCS100DescribeCoverage |
retrieve(java.net.URI uri,
java.lang.String coverageName) |
allocate, 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 java.util.List<WCS100CoverageOffering> coverageOfferings
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)
protected void doParseEventContent(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
AbstractXMLEventParser
doParseEventContent
in class AbstractXMLEventParser
ctx
- a current parser context.event
- the event to parse.args
- an optional list of arguments that may by used by subclasses.javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.public java.util.List<WCS100CoverageOffering> getCoverageOfferings()
public XMLEventParserContext getParserContext()
public java.lang.String getUpdateSequence()
public java.lang.String getVersion()
protected void initialize()
public WCS100DescribeCoverage 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 WCS100DescribeCoverage retrieve(java.net.URI uri, java.lang.String coverageName) throws java.net.URISyntaxException
java.net.URISyntaxException