org.jamon.parser
Class AbstractTypeParser

java.lang.Object
  extended by org.jamon.parser.AbstractParser
      extended by org.jamon.parser.AbstractTypeParser
Direct Known Subclasses:
ClassNameParser

public class AbstractTypeParser
extends AbstractParser


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jamon.parser.AbstractParser
AbstractParser.NotAnIdentifierException
 
Field Summary
protected  java.lang.StringBuilder m_type
           
static java.lang.String UNEXPECTED_ARRAY_ERROR
           
 
Fields inherited from class org.jamon.parser.AbstractParser
BAD_ARGS_CLOSE_TAG, BAD_JAVA_TYPE_SPECIFIER, EOF_IN_JAVA_QUOTE_ERROR, INCOMPLETE_ARRAY_SPECIFIER_ERROR, m_errors, m_reader, MALFORMED_TAG_ERROR, NOT_AN_IDENTIFIER_ERROR
 
Constructor Summary
AbstractTypeParser(org.jamon.api.Location p_location, PositionalPushbackReader p_reader, ParserErrorsImpl p_errors)
           
 
Method Summary
protected  void checkForArrayBrackets()
           
 java.lang.String getType()
           
protected  void parseTypeElaborations()
           
 
Methods inherited from class org.jamon.parser.AbstractParser
addError, addError, checkForTagClosure, checkToken, eofErrorMessage, parsePath, readAndAppendChar, readChar, readClassName, readIdentifier, readIdentifierOrThrow, readJava, readType, readUntil, soakWhitespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNEXPECTED_ARRAY_ERROR

public static final java.lang.String UNEXPECTED_ARRAY_ERROR
See Also:
Constant Field Values

m_type

protected final java.lang.StringBuilder m_type
Constructor Detail

AbstractTypeParser

public AbstractTypeParser(org.jamon.api.Location p_location,
                          PositionalPushbackReader p_reader,
                          ParserErrorsImpl p_errors)
                   throws java.io.IOException,
                          ParserErrorImpl
Throws:
java.io.IOException
ParserErrorImpl
Method Detail

parseTypeElaborations

protected void parseTypeElaborations()
                              throws java.io.IOException,
                                     AbstractParser.NotAnIdentifierException,
                                     ParserErrorImpl
Throws:
java.io.IOException
AbstractParser.NotAnIdentifierException
ParserErrorImpl

checkForArrayBrackets

protected void checkForArrayBrackets()
                              throws java.io.IOException,
                                     ParserErrorImpl
Throws:
java.io.IOException
ParserErrorImpl

getType

public java.lang.String getType()


jamon