org.apache.cocoon.template.instruction
Class LocaleAwareInstruction

java.lang.Object
  extended by org.apache.cocoon.template.script.event.Event
      extended by org.apache.cocoon.template.instruction.Instruction
          extended by org.apache.cocoon.template.instruction.LocaleAwareInstruction
Direct Known Subclasses:
FormatDate, FormatNumber

public class LocaleAwareInstruction
extends Instruction

Version:
SVN $Id: LocaleAwareInstruction.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
 
Fields inherited from class org.apache.cocoon.template.instruction.Instruction
startElement
 
Fields inherited from class org.apache.cocoon.template.script.event.Event
location, next, NULL_LOCATOR
 
Constructor Summary
LocaleAwareInstruction(ParsingContext parsingContext, StartElement raw, Attributes attrs, Stack stack)
           
 
Method Summary
protected  Locale getLocale(ExpressionContext expressionContext)
           
 
Methods inherited from class org.apache.cocoon.template.instruction.Instruction
endNotify, getEndInstruction, getStartElement, setEndInstruction
 
Methods inherited from class org.apache.cocoon.template.script.event.Event
execute, getLocation, getNext, locationString, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleAwareInstruction

public LocaleAwareInstruction(ParsingContext parsingContext,
                              StartElement raw,
                              Attributes attrs,
                              Stack stack)
                       throws SAXException
Throws:
SAXException
Method Detail

getLocale

protected Locale getLocale(ExpressionContext expressionContext)
                    throws Exception
Throws:
Exception


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