public class KMLCoordinatesParser extends AbstractXMLEventParser
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLCoordinatesParser() |
KMLCoordinatesParser(java.lang.String namespaceURI) |
Modifier and Type | Method and Description |
---|---|
Position.PositionList |
parse(XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent doubleEvent,
java.lang.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(java.lang.String namespaceURI)
public Position.PositionList parse(XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent doubleEvent, java.lang.Object... args) throws javax.xml.stream.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.javax.xml.stream.XMLStreamException
- if an exception occurs during event-stream reading.