|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pnp.xfeature.documenttree.Node
public class Node
A Node can represent a sequence, a choice or an element.
| Constructor Summary | |
|---|---|
Node(java.lang.String name,
short compositor,
int size,
int maxOccurs,
int minOccurs)
Constructor |
|
| Method Summary | |
|---|---|
void |
addChild(Node child)
Adds a child node to the node. |
short |
getCompositor()
Returns the type of the node. |
Node[] |
getChildren()
Returns the children nodes of the node. |
int |
getMaxOccurs()
Returns the maxOccurs of the node. |
int |
getMinOccurs()
Returns the minOccurs of the node. |
java.lang.String |
getName()
Returns the name of the node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node(java.lang.String name,
short compositor,
int size,
int maxOccurs,
int minOccurs)
name - name of the nodecompositor - type of the nodesize - number of childrenmaxOccurs - maxOccurs of nodeminOccurs - minOccurs of node| Method Detail |
|---|
public java.lang.String getName()
public short getCompositor()
public Node[] getChildren()
public void addChild(Node child)
child - child nodepublic int getMaxOccurs()
public int getMinOccurs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||