public class WCS100DescribeCoverage extends AbstractXMLEventParser
Modifier and Type | Field and Description |
---|---|
protected List<WCS100CoverageOffering> |
coverageOfferings |
protected XMLEventReader |
eventReader |
protected XMLEventParserContext |
parserContext |
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
WCS100DescribeCoverage(Object docSource) |
Modifier and Type | Method and Description |
---|---|
protected XMLEventParserContext |
createParserContext(XMLEventReader reader) |
protected XMLEventReader |
createReader(Object docSource) |
protected void |
doParseEventContent(XMLEventParserContext ctx,
XMLEvent event,
Object... args)
Parse an event's sub-elements.
|
List<WCS100CoverageOffering> |
getCoverageOfferings() |
XMLEventParserContext |
getParserContext() |
String |
getUpdateSequence()
Returns the document's update sequence.
|
String |
getVersion()
Returns the document's version number.
|
protected void |
initialize() |
WCS100DescribeCoverage |
parse(Object... args)
Starts document parsing.
|
protected void |
registerParsers(XMLEventParserContext ctx) |
static WCS100DescribeCoverage |
retrieve(URI uri,
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 List<WCS100CoverageOffering> coverageOfferings
protected XMLEventReader eventReader
protected XMLEventParserContext parserContext
public WCS100DescribeCoverage(Object docSource)
protected XMLEventParserContext createParserContext(XMLEventReader reader)
protected XMLEventReader createReader(Object docSource)
protected void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args) throws 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.XMLStreamException
- if an exception occurs during event-stream reading.public List<WCS100CoverageOffering> getCoverageOfferings()
public XMLEventParserContext getParserContext()
public String getUpdateSequence()
public String getVersion()
protected void initialize()
public WCS100DescribeCoverage 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 WCS100DescribeCoverage retrieve(URI uri, String coverageName) throws URISyntaxException
URISyntaxException