org.apache.cocoon.template.expression
Class Literal

java.lang.Object
  extended byorg.apache.cocoon.template.expression.Literal
All Implemented Interfaces:
org.apache.cocoon.el.parsing.Subst

public class Literal
extends Object
implements org.apache.cocoon.el.parsing.Subst

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

Constructor Summary
Literal(Boolean val)
           
Literal(Integer val)
           
Literal(String val)
           
 
Method Summary
 Boolean getBooleanValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 char[] getCharArray()
           
 Object getCompiledExpression()
           
 int getIntValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 Iterator getIterator(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 Object getNode(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 Number getNumberValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 String getRaw()
           
 String getStringValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 Object getValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
           
 void setLenient(Boolean lenient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Literal

public Literal(String val)

Literal

public Literal(Integer val)

Literal

public Literal(Boolean val)
Method Detail

getCharArray

public char[] getCharArray()

setLenient

public void setLenient(Boolean lenient)
Specified by:
setLenient in interface org.apache.cocoon.el.parsing.Subst

getValue

public Object getValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                throws Exception
Specified by:
getValue in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getIntValue

public int getIntValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                throws Exception
Specified by:
getIntValue in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getNumberValue

public Number getNumberValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                      throws Exception
Specified by:
getNumberValue in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getStringValue

public String getStringValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                      throws Exception
Specified by:
getStringValue in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getBooleanValue

public Boolean getBooleanValue(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                        throws Exception
Specified by:
getBooleanValue in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getIterator

public Iterator getIterator(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
                     throws Exception
Specified by:
getIterator in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getNode

public Object getNode(org.apache.cocoon.el.objectmodel.ObjectModel objectModel)
               throws Exception
Specified by:
getNode in interface org.apache.cocoon.el.parsing.Subst
Throws:
Exception

getCompiledExpression

public Object getCompiledExpression()
Specified by:
getCompiledExpression in interface org.apache.cocoon.el.parsing.Subst

getRaw

public String getRaw()
Specified by:
getRaw in interface org.apache.cocoon.el.parsing.Subst


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