abstract class AbstractHTTPElementData extends AbstractHTTPData implements ElementData
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_configured |
private java.lang.String |
m_name |
private AbstractHTTPData |
m_parent |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHTTPElementData(HTTPInstrumentManagerConnection connection,
AbstractHTTPData parent,
java.lang.String name)
Creates a new AbstractHTTPElementData.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name.
|
Data |
getParent()
Returns the parent data object.
|
boolean |
isConfigured()
Returns the configured flag of the remote object.
|
protected static java.lang.String |
lastNameToken(java.lang.String name)
Returns the last element of a name separated by '.'s
|
protected void |
update(org.apache.avalon.framework.configuration.Configuration configuration)
Update the contents of the object using values from the Configuration object.
|
getConnection, getDescription, getStateVersion, urlEncodeenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getStateVersion, updateprivate AbstractHTTPData m_parent
private java.lang.String m_name
private boolean m_configured
protected AbstractHTTPElementData(HTTPInstrumentManagerConnection connection, AbstractHTTPData parent, java.lang.String name)
connection - The connection used to communicate with the server.parent - The parent data element.name - The name of the data element.protected static java.lang.String lastNameToken(java.lang.String name)
public Data getParent()
getParent in interface ElementDatapublic java.lang.String getName()
getName in interface ElementDatapublic boolean isConfigured()
isConfigured in interface ElementDataprotected void update(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
update in class AbstractHTTPDataconfiguration - Configuration object to load from.org.apache.avalon.framework.configuration.ConfigurationException - If there are any problems.