public class KMLMultiGeometry extends KMLAbstractGeometry
Modifier and Type | Field and Description |
---|---|
protected 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(String namespaceURI)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addGeometry(KMLAbstractGeometry o) |
void |
applyChange(KMLAbstractObject sourceValues) |
protected void |
doAddEventContent(Object o,
XMLEventParserContext ctx,
XMLEvent event,
Object... args) |
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 List<KMLAbstractGeometry> geometries
public KMLMultiGeometry(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(Object o, XMLEventParserContext ctx, XMLEvent event, Object... args) throws XMLStreamException
doAddEventContent
in class AbstractXMLEventParser
XMLStreamException
public List<KMLAbstractGeometry> getGeometries()
protected void mergeGeometries(KMLMultiGeometry sourceMultiGeometry)
sourceMultiGeometry
- the incoming geometries.