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

Quick Search    Search Deep

org.mom4j.config
Class ConfigNode  view ConfigNode download ConfigNode.java

java.lang.Object
  extended byorg.mom4j.config.ConfigNode

public final class ConfigNode
extends java.lang.Object


Field Summary
private  java.util.List children
           
private  java.lang.String content
           
private  java.lang.String name
           
private  ConfigNode parent
           
private  java.util.Map properties
           
 
Constructor Summary
ConfigNode(java.lang.String name, java.util.Map properties)
           
 
Method Summary
(package private)  void addChild(ConfigNode node)
           
 ConfigNode findByName(java.lang.String name)
           
 ConfigNode getChild(int index)
           
 int getChildCount()
           
 java.lang.String getContent()
           
 java.lang.String getName()
           
 ConfigNode getParent()
           
 java.lang.String getProperty(java.lang.String name)
           
 java.util.Collection getPropertyNames()
           
private  void printXML(java.lang.StringBuffer sb, int indent)
           
(package private)  void setContent(java.lang.String content)
           
(package private)  void setParent(ConfigNode parent)
           
 java.lang.String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

content

private java.lang.String content

properties

private java.util.Map properties

parent

private ConfigNode parent

children

private java.util.List children
Constructor Detail

ConfigNode

public ConfigNode(java.lang.String name,
                  java.util.Map properties)
Method Detail

getName

public java.lang.String getName()

getContent

public java.lang.String getContent()

setContent

void setContent(java.lang.String content)

getProperty

public java.lang.String getProperty(java.lang.String name)

getPropertyNames

public java.util.Collection getPropertyNames()

getParent

public ConfigNode getParent()

setParent

void setParent(ConfigNode parent)

addChild

void addChild(ConfigNode node)

getChildCount

public int getChildCount()

getChild

public ConfigNode getChild(int index)

findByName

public ConfigNode findByName(java.lang.String name)

printXML

private void printXML(java.lang.StringBuffer sb,
                      int indent)

toXML

public java.lang.String toXML()