org.apache.cocoon.template.expression
Class AbstractStringTemplateParser
java.lang.Object
org.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 $
Fields inherited from interface org.apache.cocoon.el.parsing.StringTemplateParser |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStringTemplateParser
public AbstractStringTemplateParser()
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.