public class KMLCoordinatesParser extends AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLCoordinatesParser() |
KMLCoordinatesParser(String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
Position.PositionList |
parse(XMLEventParserContext ctx,
XMLEvent doubleEvent,
Object... args)
Parse the event and initialize the parser's values to those found in the event.
|
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, getRoot, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
public KMLCoordinatesParser()
public KMLCoordinatesParser(String namespaceURI)
public Position.PositionList parse(XMLEventParserContext ctx, XMLEvent doubleEvent, Object... args) throws XMLStreamException
AbstractXMLEventParser
parse
in interface XMLEventParser
parse
in class AbstractXMLEventParser
ctx
- a current parser context.doubleEvent
- the event to parse.args
- an optional list of arguments that may by used by subclasses.this
, otherwise returns null.XMLStreamException
- if an exception occurs during event-stream reading.