gov.nasa.worldwind.ogc.kml
Class KMLStyleUrl
java.lang.Object
gov.nasa.worldwind.util.xml.AbstractXMLEventParser
gov.nasa.worldwind.ogc.kml.KMLAbstractObject
gov.nasa.worldwind.ogc.kml.KMLStyleUrl
- All Implemented Interfaces:
- MessageListener, XMLEventParser
public class KMLStyleUrl
- extends KMLAbstractObject
| Methods inherited from class gov.nasa.worldwind.util.xml.AbstractXMLEventParser |
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KMLStyleUrl
public KMLStyleUrl(String namespaceURI)
- Construct an instance.
- Parameters:
namespaceURI - the qualifying namespace URI. May be null to indicate no namespace qualification.
applyChange
public void applyChange(KMLAbstractObject sourceValues)
- Overrides:
applyChange in class KMLAbstractObject
resolveStyleUrl
public KMLAbstractStyleSelector resolveStyleUrl()
- Resolves a styleUrl to a style selector, which is either a style or style map.
If the url refers to a remote resource and the resource has not been retrieved and cached locally, this method
returns null and initiates a retrieval.
- Returns:
- the style or style map referred to by the style URL.