com.resilientedge.util.prefs.xml
Class XMLNode

java.lang.Object
  |
  +--com.resilientedge.util.prefs.xml.XMLNode
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
XMLRoot

public class XMLNode
extends java.lang.Object
implements java.io.Serializable

Represents a list of pair groups

Author:
jwh
See Also:
Serialized Form

Constructor Summary
XMLNode()
          Default constructor
XMLNode(java.lang.String name)
           
 
Method Summary
 void addNode(XMLNode node)
           
 XMLMap getEntryMap()
          Returns the children for this group (non-null)
 java.lang.String getName()
           
 XMLNode[] getNodes()
          Returns the children for this group (non-null)
 void setEntryMap(XMLMap map)
          Sets the children for this group, removing any previous children
 void setName(java.lang.String name)
           
 void setNodes(XMLNode[] nodes)
          Sets the children for this group, removing any previous children
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLNode

public XMLNode()
Default constructor

XMLNode

public XMLNode(java.lang.String name)
Parameters:
name - Parameter Description
Method Detail

setName

public void setName(java.lang.String name)
Parameters:
name - The new Name value

setEntryMap

public void setEntryMap(XMLMap map)
Sets the children for this group, removing any previous children
Parameters:
map - The new EntryMap value

setNodes

public void setNodes(XMLNode[] nodes)
Sets the children for this group, removing any previous children
Parameters:
nodes - The new Nodes value

getName

public java.lang.String getName()
Returns:
The Name value

getEntryMap

public XMLMap getEntryMap()
Returns the children for this group (non-null)
Returns:
the children for this group (non-null)

getNodes

public XMLNode[] getNodes()
Returns the children for this group (non-null)
Returns:
the children for this group (non-null)

addNode

public void addNode(XMLNode node)
Parameters:
node - The feature to be added to the Node attribute


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.