Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdbf.engine.configuration
Class ConfigurationImpl  view ConfigurationImpl download ConfigurationImpl.java

java.lang.Object
  extended byorg.jdbf.engine.configuration.AbstractConfiguration
      extended byorg.jdbf.engine.configuration.ConfigurationImpl
All Implemented Interfaces:
Configuration

public class ConfigurationImpl
extends AbstractConfiguration


Field Summary
private  java.util.Map children
           
private static java.util.Iterator EMPTY_ITERATOR
           
 
Fields inherited from class org.jdbf.engine.configuration.AbstractConfiguration
name, value
 
Constructor Summary
ConfigurationImpl(java.lang.String name)
           
 
Method Summary
 void addConfiguration(Configuration config)
          Add a configuration subnode
 void appendValueData(java.lang.String value)
           
 Configuration getConfiguration(java.lang.String name)
          Return the first subnode for the given name
 Configuration getConfiguration(java.lang.String name, java.lang.String defaultValue)
          Return the first subnode for the given name
 java.util.Iterator getConfigurations(java.lang.String name)
          Return an iterator for configuration subnodes for the given name
 
Methods inherited from class org.jdbf.engine.configuration.AbstractConfiguration
getFloatValue, getIntValue, getName, getValue, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

private java.util.Map children

EMPTY_ITERATOR

private static java.util.Iterator EMPTY_ITERATOR
Constructor Detail

ConfigurationImpl

public ConfigurationImpl(java.lang.String name)
Method Detail

appendValueData

public void appendValueData(java.lang.String value)

getConfigurations

public java.util.Iterator getConfigurations(java.lang.String name)
Return an iterator for configuration subnodes for the given name

Specified by:
getConfigurations in interface Configuration
Specified by:
getConfigurations in class AbstractConfiguration

getConfiguration

public Configuration getConfiguration(java.lang.String name)
Return the first subnode for the given name

Specified by:
getConfiguration in interface Configuration
Specified by:
getConfiguration in class AbstractConfiguration

getConfiguration

public Configuration getConfiguration(java.lang.String name,
                                      java.lang.String defaultValue)
Return the first subnode for the given name


addConfiguration

public void addConfiguration(Configuration config)
Add a configuration subnode