This project has retired. For details please refer to its
Attic page .
VariableExpressionTokenizer (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.components.treeprocessor.variables
Class VariableExpressionTokenizer
java.lang.Object
org.apache.cocoon.components.treeprocessor.variables.VariableExpressionTokenizer
public final class VariableExpressionTokenizer extends Object
Parses "Text {module:{module:attribute}} more text {variable}" types of
expressions. Supports escaping of braces with '\' character, and nested
expressions.
Version:
CVS $Id: VariableExpressionTokenizer.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
VariableExpressionTokenizer
public VariableExpressionTokenizer ()
tokenize
public static void tokenize (String expression,
VariableExpressionTokenizer.TokenReciever reciever)
throws PatternException
Tokenizes specified expression. Passes tokens to the
reciever.
Throws:
PatternException
- if expression is not valid
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.