org.constretto.model
Class ConfigurationNode

java.lang.Object
  extended by org.constretto.model.ConfigurationNode

public class ConfigurationNode
extends Object

Author:
Kaare Nilsen

Field Summary
static String ALL_TAG
           
static String DEFAULT_TAG
           
 
Method Summary
 List<ConfigurationNode> children()
           
static ConfigurationNode createRootElement()
           
static void createRootElementOf(ConfigurationNode currentConfigurationNode)
           
 List<ConfigurationNode> findAllBy(String expression)
           
 String getExpression()
           
 String getName()
           
 String getTag()
           
 String getValue()
           
 boolean hasChildren()
           
 ConfigurationNode root()
           
 String toString()
           
 void update(String expression, String value, String tag)
           
 void updateValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_TAG

public static final String DEFAULT_TAG
See Also:
Constant Field Values

ALL_TAG

public static final String ALL_TAG
See Also:
Constant Field Values
Method Detail

createRootElement

public static ConfigurationNode createRootElement()

createRootElementOf

public static void createRootElementOf(ConfigurationNode currentConfigurationNode)

root

public ConfigurationNode root()

getValue

public String getValue()

updateValue

public void updateValue(String value)

getTag

public String getTag()

getName

public String getName()

hasChildren

public boolean hasChildren()

children

public List<ConfigurationNode> children()

getExpression

public String getExpression()

update

public void update(String expression,
                   String value,
                   String tag)

findAllBy

public List<ConfigurationNode> findAllBy(String expression)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011. All Rights Reserved.