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 XMLEventReader |
eventReader |
protected static String |
namespaceURI |
protected XMLEventParserContext |
parserContext |
protected HashMap<String,String> |
properties |
CHARACTERS_CONTENT, fields, parent| Constructor and Description |
|---|
RasterServerConfiguration(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.
|
XMLEventParserContext |
getParserContext() |
HashMap<String,String> |
getProperties() |
Sector |
getSector() |
ArrayList<RasterServerConfiguration.Source> |
getSources() |
String |
getVersion() |
protected void |
initialize() |
RasterServerConfiguration |
parse(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, setParentprotected XMLEventReader eventReader
protected static String namespaceURI
protected XMLEventParserContext parserContext
public RasterServerConfiguration(Object docSource)
protected XMLEventParserContext createParserContext(XMLEventReader reader)
protected XMLEventReader createReader(Object docSource)
protected void doParseEventContent(XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
AbstractXMLEventParserdoParseEventContent in class AbstractXMLEventParserctx - 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 XMLEventParserContext getParserContext()
public Sector getSector()
public ArrayList<RasterServerConfiguration.Source> getSources()
public String getVersion()
protected void initialize()
public RasterServerConfiguration parse(Object... args) throws XMLStreamException
XMLStreamExceptionprotected void registerParsers(XMLEventParserContext ctx)