net.sourceforge.jparam.parser
Class VectorLeaf
java.lang.Object
|
+--net.sourceforge.jparam.parser.VectorLeaf
- All Implemented Interfaces:
- TreeNode
- public class VectorLeaf
- extends java.lang.Object
- implements TreeNode
A description of class CompositeTreeNode
Constructor Summary |
VectorLeaf(java.util.List elements,
int vectorType)
Create a new Vector object, with the given TreeNodes as items |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LIST
public static final int LIST
VECTOR
public static final int VECTOR
VectorLeaf
public VectorLeaf(java.util.List elements,
int vectorType)
- Create a new Vector object, with the given TreeNodes as items
getConstructedValue
public java.lang.Object getConstructedValue(java.lang.Class expectedType)
throws JParamException
- Specified by:
getConstructedValue
in interface TreeNode
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
fromShellStrings
public static VectorLeaf fromShellStrings(java.lang.String shellString)
getConversionWeight
public ScalarConversionWeight getConversionWeight(java.lang.Class expectedClass)
- Specified by:
getConversionWeight
in interface TreeNode
Copyright © 2004 SourceForge. All Rights Reserved.