public class RasterServerConfiguration extends AbstractXMLEventParser
Modifier and Type | Class and Description |
---|---|
protected static class |
RasterServerConfiguration.Corner |
protected static class |
RasterServerConfiguration.Property |
protected static class |
RasterServerConfiguration.RasterSector |
static class |
RasterServerConfiguration.Source |
protected static class |
RasterServerConfiguration.Sources |
Modifier and Type | Field and Description |
---|---|
protected javax.xml.stream.XMLEventReader |
eventReader |
protected static java.lang.String |
namespaceURI |
protected XMLEventParserContext |
parserContext |
protected java.util.HashMap<java.lang.String,java.lang.String> |
properties |
CHARACTERS_CONTENT, fields, parent
Constructor and Description |
---|
RasterServerConfiguration(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.
|
XMLEventParserContext |
getParserContext() |
java.util.HashMap<java.lang.String,java.lang.String> |
getProperties() |
Sector |
getSector() |
java.util.ArrayList<RasterServerConfiguration.Source> |
getSources() |
java.lang.String |
getVersion() |
protected void |
initialize() |
RasterServerConfiguration |
parse(java.lang.Object... args) |
protected void |
registerParsers(XMLEventParserContext ctx) |
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 javax.xml.stream.XMLEventReader eventReader
protected static java.lang.String namespaceURI
protected XMLEventParserContext parserContext
protected java.util.HashMap<java.lang.String,java.lang.String> properties
public RasterServerConfiguration(java.lang.Object docSource)
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 XMLEventParserContext getParserContext()
public java.util.HashMap<java.lang.String,java.lang.String> getProperties()
public Sector getSector()
public java.util.ArrayList<RasterServerConfiguration.Source> getSources()
public java.lang.String getVersion()
protected void initialize()
public RasterServerConfiguration parse(java.lang.Object... args) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
protected void registerParsers(XMLEventParserContext ctx)