Class KMLMultiGeometry

    • Constructor Detail

      • KMLMultiGeometry

        public KMLMultiGeometry​(java.lang.String namespaceURI)
        Construct an instance.
        Parameters:
        namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
    • Method Detail

      • doAddEventContent

        protected void doAddEventContent​(java.lang.Object o,
                                         XMLEventParserContext ctx,
                                         javax.xml.stream.events.XMLEvent event,
                                         java.lang.Object... args)
                                  throws javax.xml.stream.XMLStreamException
        Overrides:
        doAddEventContent in class AbstractXMLEventParser
        Throws:
        javax.xml.stream.XMLStreamException
      • mergeGeometries

        protected void mergeGeometries​(KMLMultiGeometry sourceMultiGeometry)
        Merge a list of incoming geometries with the current list. If an incoming geometry has the same ID as an existing one, replace the existing one, otherwise just add the incoming one.
        Parameters:
        sourceMultiGeometry - the incoming geometries.