org.apache.cocoon.el.parsing
Interface StringTemplateParser


public interface StringTemplateParser

Version:
$Id: StringTemplateParser.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
static String ROLE
           
 
Method Summary
 Subst compileBoolean(String expr, String msg, Locator location)
          Compile a boolean expression.
 Subst compileExpr(String expr, String msg, Locator location)
          Compile an expression.
 Subst compileInt(String expr, String msg, Locator location)
          Compile an integer expression.
 List parseSubstitutions(Reader in, String msg, Locator location)
          Parse a set of expressions spaced with literals
 

Field Detail

ROLE

public static final String ROLE
Method Detail

compileBoolean

public Subst compileBoolean(String expr,
                            String msg,
                            Locator location)
                     throws SAXException
Compile a boolean expression. Returns either a Compiled Expression or a Boolean literal.

Throws:
SAXException

compileInt

public Subst compileInt(String expr,
                        String msg,
                        Locator location)
                 throws SAXException
Compile an integer expression. Returns either a Compiled Expression or an Integer literal.

Throws:
SAXException

compileExpr

public Subst compileExpr(String expr,
                         String msg,
                         Locator location)
                  throws SAXParseException
Compile an expression.

Throws:
SAXParseException

parseSubstitutions

public List parseSubstitutions(Reader in,
                               String msg,
                               Locator location)
                        throws SAXParseException
Parse a set of expressions spaced with literals

Throws:
SAXParseException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.