Class TypeParser


  • public class TypeParser
    extends java.lang.Object
    Simple recursive-descent parser for parsing canonical JavaType representations and constructing type instances.
    Since:
    1.5
    Author:
    tatu
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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)