public class KMLMultiGeometry extends KMLAbstractGeometry
Modifier and Type | Field and Description |
---|---|
protected java.util.List<KMLAbstractGeometry> |
geometries |
MSG_BOX_CHANGED, MSG_GEOMETRY_CHANGED, MSG_LINK_CHANGED, MSG_STYLE_CHANGED, MSG_TIME_CHANGED, MSG_VIEW_CHANGED
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
KMLMultiGeometry(java.lang.String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addGeometry(KMLAbstractGeometry o) |
void |
applyChange(KMLAbstractObject sourceValues) |
protected void |
doAddEventContent(java.lang.Object o,
XMLEventParserContext ctx,
javax.xml.stream.events.XMLEvent event,
java.lang.Object... args) |
java.util.List<KMLAbstractGeometry> |
getGeometries() |
protected void |
mergeGeometries(KMLMultiGeometry sourceMultiGeometry)
Merge a list of incoming geometries with the current list.
|
getId, getRoot, getTargetId, onChange, onMessage
allocate, doAddCharacters, doAddEventAttribute, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
protected java.util.List<KMLAbstractGeometry> geometries
public KMLMultiGeometry(java.lang.String namespaceURI)
namespaceURI
- the qualifying namespace URI. May be null to indicate no namespace qualification.protected void addGeometry(KMLAbstractGeometry o)
public void applyChange(KMLAbstractObject sourceValues)
applyChange
in class KMLAbstractGeometry
protected void doAddEventContent(java.lang.Object o, XMLEventParserContext ctx, javax.xml.stream.events.XMLEvent event, java.lang.Object... args) throws javax.xml.stream.XMLStreamException
doAddEventContent
in class AbstractXMLEventParser
javax.xml.stream.XMLStreamException
public java.util.List<KMLAbstractGeometry> getGeometries()
protected void mergeGeometries(KMLMultiGeometry sourceMultiGeometry)
sourceMultiGeometry
- the incoming geometries.