org.jamon.parser
Class AbstractArgsParser
java.lang.Object
org.jamon.parser.AbstractParser
org.jamon.parser.AbstractArgsParser
- Direct Known Subclasses:
- ArgsParser, FragmentArgsParser
public abstract class AbstractArgsParser
- extends AbstractParser
| 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 |
AbstractArgsParser
public AbstractArgsParser(PositionalPushbackReader p_reader,
ParserErrorsImpl p_errors,
org.jamon.api.Location p_tagLocation)
throws java.io.IOException,
ParserErrorImpl
- Throws:
java.io.IOException
ParserErrorImpl
finishOpenTag
protected abstract boolean finishOpenTag(org.jamon.api.Location p_tagLocation)
throws java.io.IOException
- Finish processing the opening tag.
- Returns:
- true if there is more to process
- Throws:
java.io.IOException
handleDefaultValue
protected abstract boolean handleDefaultValue(AbstractArgsNode argsNode,
ArgTypeNode argType,
ArgNameNode argName)
throws java.io.IOException,
ParserErrorImpl
- Handle a default value for an arg; returns true if there is one.
- Parameters:
argsNode - The parent node for the argumentargType - The argument typeargName - The argument name
- Returns:
- true if there was a default value
- Throws:
java.io.IOException
ParserErrorImpl
checkArgsTagEnd
protected abstract void checkArgsTagEnd()
throws java.io.IOException
- Throws:
java.io.IOException
postArgNameTokenError
protected abstract java.lang.String postArgNameTokenError()
makeArgsNode
protected abstract AbstractArgsNode makeArgsNode(org.jamon.api.Location p_tagLocation)
jamon