Package org.codehaus.jackson.map.type
Class TypeParser
- java.lang.Object
-
- org.codehaus.jackson.map.type.TypeParser
-
public class TypeParser extends java.lang.ObjectSimple recursive-descent parser for parsing canonicalJavaTyperepresentations and constructing type instances.- Since:
- 1.5
- Author:
- tatu
-
-
Constructor Summary
Constructors Constructor Description TypeParser(TypeFactory f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.IllegalArgumentException_problem(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens, java.lang.String msg)protected java.lang.Class<?>findClass(java.lang.String className, org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)JavaTypeparse(java.lang.String canonical)protected JavaTypeparseType(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)protected java.util.List<JavaType>parseTypes(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)
-
-
-
Constructor Detail
-
TypeParser
public TypeParser(TypeFactory f)
-
-
Method Detail
-
parse
public JavaType parse(java.lang.String canonical) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
parseType
protected JavaType parseType(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
parseTypes
protected java.util.List<JavaType> parseTypes(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
findClass
protected java.lang.Class<?> findClass(java.lang.String className, org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)
-
_problem
protected java.lang.IllegalArgumentException _problem(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens, java.lang.String msg)
-
-