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


Field Summary
static int LIST
           
static int VECTOR
           
 
Constructor Summary
VectorLeaf(java.util.List elements, int vectorType)
          Create a new Vector object, with the given TreeNodes as items
 
Method Summary
static VectorLeaf fromShellStrings(java.lang.String shellString)
           
 java.lang.Object getConstructedValue(java.lang.Class expectedType)
           
 ScalarConversionWeight getConversionWeight(java.lang.Class expectedClass)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIST

public static final int LIST

VECTOR

public static final int VECTOR
Constructor Detail

VectorLeaf

public VectorLeaf(java.util.List elements,
                  int vectorType)
Create a new Vector object, with the given TreeNodes as items
Method Detail

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.