public class ConstMFNode extends ConstMField
Constructor and Description |
---|
ConstMFNode(BaseNode[] nodes)
Construct a read-only MFNode field.
|
ConstMFNode(int size,
BaseNode[] nodes)
Construct a read-only MFNode field.
|
Modifier and Type | Method and Description |
---|---|
BaseNode |
get1Value(int index)
Retrieves a specific BaseNode from an MFNode.
|
int |
getSize()
Number of elements contained in the MField.
|
void |
getValue(BaseNode[] nodes)
Retrieves the value of an MFNode field.
|
clone
public ConstMFNode(int size, BaseNode[] nodes)
size
- Number of elements passed in.nodes
- Array of BaseNodes.public ConstMFNode(BaseNode[] nodes)
nodes
- Array of BaseNodes.public int getSize()
ConstMField
getSize
in class ConstMField
public void getValue(BaseNode[] nodes)
nodes
- Array of BaseNodes to be returned.public BaseNode get1Value(int index)
index
- Position of desired BaseNode.