|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.BasicDataConfiguration
public class BasicDataConfiguration
An implementation of the DataConfiguration interface, which uses an Element as its
backing store. Parameter names in query methods are interpreted as XPath queries against the backing
Element.
| Field Summary | |
|---|---|
protected org.w3c.dom.Element |
dom
|
protected javax.xml.xpath.XPath |
xpath
|
| Constructor Summary | |
|---|---|
BasicDataConfiguration(org.w3c.dom.Element domElement)
Creates a BasicDataConfiguration backed by a specified Element. |
|
| Method Summary | |
|---|---|
protected DataConfiguration |
createChildConfigInfo(org.w3c.dom.Element domElement)
|
java.lang.Boolean |
getBoolean(java.lang.String paramName)
Returns the Boolean value identified by a specified parameter name. |
DataConfiguration |
getChild(java.lang.String paramName)
Returns the child configuration with a specified name. |
DataConfiguration[] |
getChildren(java.lang.String paramName)
Returns an array of child configurations with a specified name. |
java.lang.Double |
getDouble(java.lang.String paramName)
Returns the Double value identified by a specified parameter name. |
java.lang.Integer |
getInteger(java.lang.String paramName)
Returns the Integer value identified by a specified parameter name. |
LatLon |
getLatLon(java.lang.String paramName)
Returns the LatLon value identified by a specified parameter name. |
java.lang.Long |
getLong(java.lang.String paramName)
Returns the Long value identified by a specified parameter name. |
java.lang.String |
getName()
A no-op implemenation of the DataConfiguration.getName() method provided so that this class can be
instantiated. |
Sector |
getSector(java.lang.String paramName)
Returns the Sector value identified by a specified parameter name. |
LevelSet.SectorResolution |
getSectorResolutionLimit(java.lang.String paramName)
Returns the LevelSet.SectorResolution value identified by a specified parameter
name. |
java.lang.Object |
getSource()
Returns this data configuration's backing DOM Element. |
java.lang.String |
getString(java.lang.String paramName)
Returns the String value identified by a specified parameter name. |
java.lang.String[] |
getStringArray(java.lang.String paramName)
Returns all String values identified by a specified parameter name. |
java.lang.Long |
getTimeInMillis(java.lang.String paramName)
Returns the time value in milliseconds identified by a specified parameter name. |
java.lang.String |
getType()
A no-op implemenation of the DataConfiguration.getType() method provided so that this class can be
instantiated. |
java.lang.String[] |
getUniqueStrings(java.lang.String paramName)
Returns all unique String values identified by a specified parameter name. |
java.lang.String |
getVersion()
A no-op implemenation of the DataConfiguration.getVersion() method provided so that this class can be
instantiated. |
protected javax.xml.xpath.XPath |
getXPath()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.w3c.dom.Element dom
protected javax.xml.xpath.XPath xpath
| Constructor Detail |
|---|
public BasicDataConfiguration(org.w3c.dom.Element domElement)
domElement - backing DOM element.
java.lang.IllegalArgumentException - if the element is null.| Method Detail |
|---|
protected DataConfiguration createChildConfigInfo(org.w3c.dom.Element domElement)
public java.lang.Boolean getBoolean(java.lang.String paramName)
DataConfigurationBoolean value identified by a specified parameter name.
getBoolean in interface DataConfigurationparamName - the parameter name.
public DataConfiguration getChild(java.lang.String paramName)
DataConfiguration
getChild in interface DataConfigurationparamName - name of the child configuration.
public DataConfiguration[] getChildren(java.lang.String paramName)
DataConfiguration
getChildren in interface DataConfigurationparamName - name of the child configurations.
public java.lang.Double getDouble(java.lang.String paramName)
DataConfigurationDouble value identified by a specified parameter name.
getDouble in interface DataConfigurationparamName - the parameter name.
public java.lang.Integer getInteger(java.lang.String paramName)
DataConfigurationInteger value identified by a specified parameter name.
getInteger in interface DataConfigurationparamName - the parameter name.
public LatLon getLatLon(java.lang.String paramName)
DataConfigurationLatLon value identified by a specified parameter name.
getLatLon in interface DataConfigurationparamName - the parameter name.
public java.lang.Long getLong(java.lang.String paramName)
DataConfigurationLong value identified by a specified parameter name.
getLong in interface DataConfigurationparamName - the parameter name.
public java.lang.String getName()
DataConfiguration.getName() method provided so that this class can be
instantiated. Not all configuration info supports a getName method; this class is therefore
useful as is in these cases.
getName in interface DataConfigurationpublic Sector getSector(java.lang.String paramName)
DataConfigurationSector value identified by a specified parameter name.
getSector in interface DataConfigurationparamName - the parameter name.
public LevelSet.SectorResolution getSectorResolutionLimit(java.lang.String paramName)
DataConfigurationLevelSet.SectorResolution value identified by a specified parameter
name.
getSectorResolutionLimit in interface DataConfigurationparamName - the parameter name.
public java.lang.Object getSource()
getSource in interface DataConfigurationpublic java.lang.String getString(java.lang.String paramName)
DataConfigurationString value identified by a specified parameter name.
getString in interface DataConfigurationparamName - the parameter name.
public java.lang.String[] getStringArray(java.lang.String paramName)
DataConfiguration
getStringArray in interface DataConfigurationparamName - the parameter name.
public java.lang.Long getTimeInMillis(java.lang.String paramName)
DataConfiguration
getTimeInMillis in interface DataConfigurationparamName - the parameter name.
public java.lang.String getType()
DataConfiguration.getType() method provided so that this class can be
instantiated. Not all configuration info supports a getType method; this class is therefore
useful as is in these cases.
getType in interface DataConfigurationpublic java.lang.String[] getUniqueStrings(java.lang.String paramName)
DataConfiguration
getUniqueStrings in interface DataConfigurationparamName - the parameter name.
public java.lang.String getVersion()
DataConfiguration.getVersion() method provided so that this class can be
instantiated. Not all configuration info supports a getVersion method; this class is therefore
useful as is in these cases.
getVersion in interface DataConfigurationprotected javax.xml.xpath.XPath getXPath()
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||