org.apache.cocoon.el.parsing
Interface StringTemplateParser


public interface StringTemplateParser

Version:
$Id: StringTemplateParser.java 566681 2007-08-16 12:38:01Z gkossakowski $

Field Summary
static String ROLE
           
 
Method Summary
 Subst compileBoolean(String val, String msg, Locator location)
          Compile a boolean expression (returns either a Compiled Expression or a Boolean literal)
 Subst compileExpr(String inStr, String errorPrefix, Locator location)
           
 Subst compileInt(String val, String msg, Locator location)
          Compile an integer expression (returns either a Compiled Expression or an Integer literal)
 List parseSubstitutions(Reader in)
           
 List parseSubstitutions(Reader in, String errorPrefix, 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 val,
                            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 val,
                        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 inStr,
                         String errorPrefix,
                         Locator location)
                  throws SAXParseException
Throws:
SAXParseException

parseSubstitutions

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

Throws:
SAXParseException

parseSubstitutions

public List parseSubstitutions(Reader in)
                        throws Exception
Throws:
Exception


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