Package org.codehaus.jackson.map.type
Class TypeParser
- java.lang.Object
-
- org.codehaus.jackson.map.type.TypeParser
-
public class TypeParser extends java.lang.Object
Simple recursive-descent parser for parsing canonicalJavaType
representations 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)
JavaType
parse(java.lang.String canonical)
protected JavaType
parseType(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)
-
-