net.sourceforge.jparam.parser
Class SimpleLeaf
java.lang.Object
|
+--net.sourceforge.jparam.parser.SimpleLeaf
- All Implemented Interfaces:
- TreeNode
- public class SimpleLeaf
- extends java.lang.Object
- implements TreeNode
A description of class TreeNode
Constructor Summary |
SimpleLeaf(java.lang.String value,
int type)
Create a new TreeNode object. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CHAR
public static final int CHAR
STRING
public static final int STRING
TENTATIVE
public static final int TENTATIVE
DECODED_STRING
public static final int DECODED_STRING
SimpleLeaf
public SimpleLeaf(java.lang.String value,
int type)
- Create a new TreeNode object.
getConstructedValue
public java.lang.Object getConstructedValue(java.lang.Class expectedType)
throws JParamException
- Specified by:
getConstructedValue
in interface TreeNode
getConversionWeight
public ScalarConversionWeight getConversionWeight(java.lang.Class expectedTypeClass)
- Specified by:
getConversionWeight
in interface TreeNode
hex_value
int hex_value(char digit)
decode_next_char
char decode_next_char(SimpleLeaf.StringWithPos swp)
decode_char
char decode_char(java.lang.String str)
decode_string
java.lang.String decode_string(java.lang.String str)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004 SourceForge. All Rights Reserved.