Class KMLCoordinatesParser

    • Constructor Detail

      • KMLCoordinatesParser

        public KMLCoordinatesParser()
      • KMLCoordinatesParser

        public KMLCoordinatesParser​(java.lang.String namespaceURI)
    • Method Detail

      • parse

        public Position.PositionList parse​(XMLEventParserContext ctx,
                                           javax.xml.stream.events.XMLEvent doubleEvent,
                                           java.lang.Object... args)
                                    throws javax.xml.stream.XMLStreamException
        Description copied from class: AbstractXMLEventParser
        Parse the event and initialize the parser's values to those found in the event.
        Specified by:
        parse in interface XMLEventParser
        Overrides:
        parse in class AbstractXMLEventParser
        Parameters:
        ctx - a current parser context.
        doubleEvent - the event to parse.
        args - an optional list of arguments that may by used by subclasses.
        Returns:
        if parsing is successful, returns this, otherwise returns null.
        Throws:
        javax.xml.stream.XMLStreamException - if an exception occurs during event-stream reading.