org.apache.cocoon.template.expression
Class AbstractStringTemplateParser

java.lang.Object
  extended byorg.apache.cocoon.template.expression.AbstractStringTemplateParser
All Implemented Interfaces:
org.apache.cocoon.el.parsing.StringTemplateParser
Direct Known Subclasses:
DefaultStringTemplateParser, LegacyStringTemplateParser

public abstract class AbstractStringTemplateParser
extends Object
implements org.apache.cocoon.el.parsing.StringTemplateParser

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

Field Summary
 
Fields inherited from interface org.apache.cocoon.el.parsing.StringTemplateParser
ROLE
 
Constructor Summary
AbstractStringTemplateParser()
           
 
Method Summary
protected  org.apache.cocoon.el.parsing.Subst compile(String expression)
           
protected  org.apache.cocoon.el.parsing.Subst compile(String expression, String language)
           
 org.apache.cocoon.el.parsing.Subst compileBoolean(String val, String msg, Locator location)
           
 org.apache.cocoon.el.parsing.Subst compileExpr(String inStr, String errorPrefix, Locator location)
           
 org.apache.cocoon.el.parsing.Subst compileInt(String val, String msg, Locator location)
           
 org.apache.cocoon.el.ExpressionFactory getExpressionFactory()
           
protected abstract  List parseSubstitutions(Reader in)
           
 List parseSubstitutions(Reader in, String errorPrefix, Locator location)
           
 void setExpressionFactory(org.apache.cocoon.el.ExpressionFactory expressionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractStringTemplateParser

public AbstractStringTemplateParser()
Method Detail

getExpressionFactory

public org.apache.cocoon.el.ExpressionFactory getExpressionFactory()

setExpressionFactory

public void setExpressionFactory(org.apache.cocoon.el.ExpressionFactory expressionFactory)

compile

protected org.apache.cocoon.el.parsing.Subst compile(String expression)
                                              throws Exception
Throws:
Exception

compile

protected org.apache.cocoon.el.parsing.Subst compile(String expression,
                                                     String language)
                                              throws Exception
Throws:
Exception

compileBoolean

public org.apache.cocoon.el.parsing.Subst compileBoolean(String val,
                                                         String msg,
                                                         Locator location)
                                                  throws SAXException
Specified by:
compileBoolean in interface org.apache.cocoon.el.parsing.StringTemplateParser
Throws:
SAXException
See Also:
StringTemplateParser.compileBoolean(String, String, Locator)

compileInt

public org.apache.cocoon.el.parsing.Subst compileInt(String val,
                                                     String msg,
                                                     Locator location)
                                              throws SAXException
Specified by:
compileInt in interface org.apache.cocoon.el.parsing.StringTemplateParser
Throws:
SAXException
See Also:
StringTemplateParser.compileInt(String, String, Locator)

compileExpr

public org.apache.cocoon.el.parsing.Subst compileExpr(String inStr,
                                                      String errorPrefix,
                                                      Locator location)
                                               throws SAXParseException
Specified by:
compileExpr in interface org.apache.cocoon.el.parsing.StringTemplateParser
Throws:
SAXParseException
See Also:
StringTemplateParser.compileExpr(String, String, Locator)

parseSubstitutions

public List parseSubstitutions(Reader in,
                               String errorPrefix,
                               Locator location)
                        throws SAXParseException
Specified by:
parseSubstitutions in interface org.apache.cocoon.el.parsing.StringTemplateParser
Throws:
SAXParseException
See Also:
StringTemplateParser.parseSubstitutions(Reader, String, Locator)

parseSubstitutions

protected abstract List parseSubstitutions(Reader in)
                                    throws Exception
Throws:
Exception


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