|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdbf.engine.configuration
Class AbstractConfiguration

java.lang.Objectorg.jdbf.engine.configuration.AbstractConfiguration
- All Implemented Interfaces:
- Configuration
- Direct Known Subclasses:
- ConfigurationImpl
- public abstract class AbstractConfiguration
- extends java.lang.Object
- implements Configuration
- extends java.lang.Object
AbstractConfiguration is a abstract configuration that represents
a node in a XML file.
| Field Summary | |
protected java.lang.String |
name
name of this configuration |
protected java.lang.String |
value
value of this configuration |
| Constructor Summary | |
protected |
AbstractConfiguration(java.lang.String name)
Creates the AbstractConfiguration object. |
| Method Summary | |
abstract Configuration |
getConfiguration(java.lang.String name)
Return a configuration specified in name |
abstract java.util.Iterator |
getConfigurations(java.lang.String name)
Return a iterator of configuration specified in name |
float |
getFloatValue()
Return the value of this configuraion as a float. |
int |
getIntValue()
Return the value of this configuraion as a int |
java.lang.String |
getName()
Return the name of this configuration |
java.lang.String |
getValue()
Return the value of this configuration |
java.lang.String |
getValue(java.lang.String defaultValue)
Return the value of this configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jdbf.engine.configuration.Configuration |
getConfiguration |
| Field Detail |
value
protected java.lang.String value
- value of this configuration
name
protected java.lang.String name
- name of this configuration
| Constructor Detail |
AbstractConfiguration
protected AbstractConfiguration(java.lang.String name)
- Creates the AbstractConfiguration object.
| Method Detail |
getFloatValue
public float getFloatValue()
throws java.lang.NumberFormatException
- Return the value of this configuraion as a
float.- Specified by:
getFloatValuein interfaceConfiguration
getIntValue
public int getIntValue()
throws java.lang.NumberFormatException
- Return the value of this configuraion as a
int- Specified by:
getIntValuein interfaceConfiguration
getName
public java.lang.String getName()
- Return the name of this configuration
- Specified by:
getNamein interfaceConfiguration
getValue
public java.lang.String getValue()
- Return the value of this configuration
- Specified by:
getValuein interfaceConfiguration
getValue
public java.lang.String getValue(java.lang.String defaultValue)
- Return the value of this configuration. Return the defaultValue is value
is null
- Specified by:
getValuein interfaceConfiguration
getConfigurations
public abstract java.util.Iterator getConfigurations(java.lang.String name)
- Return a iterator of configuration specified in name
- Specified by:
getConfigurationsin interfaceConfiguration
getConfiguration
public abstract Configuration getConfiguration(java.lang.String name)
- Return a configuration specified in name
- Specified by:
getConfigurationin interfaceConfiguration
|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ configuration overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdbf.engine.configuration.AbstractConfiguration