Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.velocity.runtime.parser.ParseException

Packages that use ParseException
org.apache.velocity.exception |
org.apache.velocity.runtime |
org.apache.velocity.runtime.directive |
org.apache.velocity.runtime.parser |

Uses of ParseException in org.apache.velocity.exception

Constructors in org.apache.velocity.exception with parameters of type ParseException
`TemplateInitException(String msg, ParseException parseException, String templateName, int col, int line)`
`ParseErrorException(ParseException pex, String templName)` Create a ParseErrorException with the given ParseException.

Uses of ParseException in org.apache.velocity.runtime

Methods in org.apache.velocity.runtime that throw ParseException
`static SimpleNode` | `RuntimeSingleton.parse(Reader reader, String templateName)` Parse the input and return the root of AST node structure.
`static SimpleNode` | `RuntimeSingleton.parse(Reader reader, String templateName, boolean dumpNamespace)` Parse the input and return the root of the AST node structure.
`SimpleNode` | `RuntimeServices.parse(String string, String templateName)` Wraps the String in a StringReader and passes it off to `RuntimeServices.parse(Reader,String)`.
`SimpleNode` | `RuntimeServices.parse(Reader reader, String templateName)` Parse the input and return the root of AST node structure.
`SimpleNode` | `RuntimeServices.parse(Reader reader, String templateName, boolean dumpNamespace)` Parse the input and return the root of the AST node structure.
`SimpleNode` | `RuntimeInstance.parse(String string, String templateName)` Parse the input and return the root of AST node structure.
`SimpleNode` | `RuntimeInstance.parse(Reader reader, String templateName)` Parse the input and return the root of AST node structure.
`SimpleNode` | `RuntimeInstance.parse(Reader reader, String templateName, boolean dumpNamespace)` Parse the input and return the root of the AST node structure.
`static SimpleNode` | `Runtime.parse(Reader reader, String templateName)` Deprecated. Parse the input and return the root of AST node structure.
`static SimpleNode` | `Runtime.parse(Reader reader, String templateName, boolean dumpNamespace)` Deprecated. Parse the input and return the root of the AST node structure.

Uses of ParseException in org.apache.velocity.runtime.directive

Subclasses of ParseException in org.apache.velocity.runtime.directive
`class` | `MacroParseException` Exception to indicate problem happened while constructing #macro() For internal use in parser - not to be passed to app level

Methods in org.apache.velocity.runtime.directive that throw ParseException
`static void` | `Macro.checkArgs(RuntimeServices rs, Token t, Node node, String sourceTemplate)` Used by Parser.java to do further parameter checking for macro arguments.

Uses of ParseException in org.apache.velocity.runtime.parser

Subclasses of ParseException in org.apache.velocity.runtime.parser
`class` | `TemplateParseException` This is an extension of the ParseException, which also takes a template name.

Methods in org.apache.velocity.runtime.parser that return ParseException
`ParseException` | `Parser.generateParseException()` Generate ParseException.

Methods in org.apache.velocity.runtime.parser that throw ParseException
`SimpleNode` | `Parser.parse(Reader reader, String templateName)` This was also added to allow parsers to be re-usable.
`SimpleNode` | `Parser.process()` This method is what starts the whole parsing process.
`void` | `Parser.Statement()` These are the types of statements that are acceptable in Velocity templates.
`void` | `Parser.EscapedDirective()` used to separate the notion of a valid directive that has been escaped, versus something that looks like a directive and is just schmoo.
`void` | `Parser.Escape()` Used to catch and process escape sequences in grammatical constructs as escapes outside of VTL are just characters.
`void` | `Parser.Comment()`
`void` | `Parser.Textblock()`
`void` | `Parser.FloatingPointLiteral()`
`void` | `Parser.IntegerLiteral()`
`void` | `Parser.StringLiteral()`
`void` | `Parser.Identifier()` This method corresponds to variable references in Velocity templates.
`void` | `Parser.Word()`
`int` | `Parser.DirectiveArg()` Supports the arguments for the Pluggable Directives
`SimpleNode` | `Parser.Directive()` Supports the Pluggable Directives #foo( arg+ )
`void` | `Parser.Map()` for creating a map in a #set #set($foo = {$foo : $bar, $blargh : $thingy})
`void` | `Parser.ObjectArray()`
`void` | `Parser.IntegerRange()` supports the [n..m] vector generator for use in the #foreach() to generate measured ranges w/o needing explicit support from the app/servlet
`void` | `Parser.IndexParameter()` A Simplified parameter more suitable for an index position: $foo[$index]
`void` | `Parser.Parameter()` This method has yet to be fully implemented but will allow arbitrarily nested method calls
`void` | `Parser.Method()` This method has yet to be fully implemented but will allow arbitrarily nested method calls
`void` | `Parser.Index()`
`void` | `Parser.Reference()`
`void` | `Parser.True()`
`void` | `Parser.False()`
`void` | `Parser.Text()` This method is responsible for allowing all non-grammar text to pass through unscathed.
`void` | `Parser.IfStatement()`
`void` | `Parser.ElseStatement()`
`void` | `Parser.ElseIfStatement()`
`void` | `Parser.SetDirective()` Currently support both types of set : #set( expr ) #set expr
`void` | `Parser.Expression()`
`void` | `Parser.Assignment()`
`void` | `Parser.ConditionalOrExpression()`
`void` | `Parser.ConditionalAndExpression()`
`void` | `Parser.EqualityExpression()`
`void` | `Parser.RelationalExpression()`
`void` | `Parser.AdditiveExpression()`
`void` | `Parser.MultiplicativeExpression()`
`void` | `Parser.UnaryExpression()`
`void` | `Parser.PrimaryExpression()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.