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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLNode
public XMLNode()
- Default constructor
XMLNode
public XMLNode(java.lang.String name)
- Parameters:
name
- Parameter Description
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.