|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.infoengine.object.IeObject
com.infoengine.object.IeGroup
Field Summary |
Fields inherited from class com.infoengine.object.IeObject |
_attributes, _children, _hasChanged, _meta, _name, _type, INITIAL_LIST_SIZE, INITIAL_MAP_SIZE, USE_COLLECTIONS |
Constructor Summary | |
IeGroup()
Constructs a new IeGroup |
|
IeGroup(String name)
Constructs a new IeGroup and sets the group name to the given String. |
Method Summary | |
void |
addNode(IeNode node)
Adds a node to the group. |
Object |
deepClone()
Returns a deep copy of the group. |
IeNode |
firstNode()
Returns the first node contained in the group. |
IeNode |
getNode(String name)
Returns a node by name. |
IeNode |
getNodeAt(int index)
Returns the node located at a specified index. |
int |
getNodeCount()
Returns the number of nodes contained in the group. |
String |
getNodeName()
Returns the DOM node name of this object. |
Enumeration |
getNodes()
Returns all of the nodes contained in the group. |
IeNode |
lastNode()
Returns the last node contained in the group. |
void |
removeAllNodes()
Removes all of the nodes contained in the group. |
void |
removeNode(IeNode node)
Removes a specified node from the group. |
void |
removeNode(String name)
Removes a node by name. |
void |
setNodeAt(IeNode node,
int index)
Sets the node at a specified index. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IeGroup()
public IeGroup(String name)
name
- the name of the group objectMethod Detail |
public void addNode(IeNode node)
node
- the node to be addedpublic IeNode firstNode()
public IeNode getNode(String name)
name
- the name of the node to be returned
public Enumeration getNodes()
public IeNode getNodeAt(int index)
index
- the index of the node to be returned
public int getNodeCount()
public IeNode lastNode()
public void removeAllNodes()
public void removeNode(String name)
name
- the name of the node to be removedpublic void removeNode(IeNode node)
node
- the node to be removedpublic void setNodeAt(IeNode node, int index)
node
- the new node to be setindex
- the index at which to set the new nodepublic String getNodeName()
getNodeName
in class IeObject
public final Object deepClone()
deepClone
in class IeObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |