|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.solarmetric.conf.Value | +--com.solarmetric.conf.PluginValue
A plugin Value
consisting of plugin name and properties.
Plugins should be specified in the form:
<plugin-name>(<prop1>=<val1>, ...)
Both the plugin name and prop list are optional, so that the following
forms are also valid:
<plugin-name>
<prop1>=<val1> ...
Defaults and aliases on plugin values apply only to the plugin name.
Constructor Summary | |
PluginValue(String prop)
|
Method Summary | |
protected Object |
createInstance(String clsName,
Class type,
Configuration conf,
boolean fatal)
Allow subclasses to instantiate additional plugins. |
String |
getClassName()
The plugin class name. |
protected String |
getInternalString()
Return the internal string form of this value. |
String |
getProperties()
The plugin properties. |
String |
getString()
Return a stringified version of this value. |
Class |
getValueType()
Returns the type of the property that this Value represents. |
Object |
instantiate(Class type,
Configuration conf)
Instantiate the plugin as an instance of the given class. |
Object |
instantiate(Class type,
Configuration conf,
boolean fatal)
Instantiate the plugin as an instance of the given class. |
void |
setClassName(String name)
The plugin class name. |
protected void |
setInternalString(String str)
Set this value from the given string. |
void |
setProperties(String props)
The plugin properties. |
void |
setString(String str)
Set this value from the given string. |
Methods inherited from class com.solarmetric.conf.Value |
addAlias, alias, clone, equals, getAliases, getChangeSupport, getDefault, getProperty, hashCode, setAliases, setChangeSupport, setDefault, setProperty, unalias |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PluginValue(String prop)
Method Detail |
public Class getValueType()
Value
getValueType
in class Value
public String getClassName()
public void setClassName(String name)
public String getProperties()
public void setProperties(String props)
public String getString()
Value
getString
in class Value
public void setString(String str)
Value
setString
in class Value
protected String getInternalString()
Value
getInternalString
in class Value
protected void setInternalString(String str)
Value
setInternalString
in class Value
public Object instantiate(Class type, Configuration conf)
public Object instantiate(Class type, Configuration conf, boolean fatal)
protected Object createInstance(String clsName, Class type, Configuration conf, boolean fatal)
|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |