org.apache.cocoon.template.script
Class DefaultInstructionFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.template.script.DefaultInstructionFactory
All Implemented Interfaces:
Configurable, LogEnabled, Serviceable, ThreadSafe, InstructionFactory

public class DefaultInstructionFactory
extends AbstractLogEnabled
implements ThreadSafe, Serviceable, Configurable, InstructionFactory

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

Field Summary
 
Fields inherited from interface org.apache.cocoon.template.script.InstructionFactory
ROLE
 
Constructor Summary
DefaultInstructionFactory()
           
 
Method Summary
 void configure(Configuration omitted)
           
 Instruction createInstruction(ParsingContext parsingContext, StartElement startElement, Attributes attrs, Stack stack)
           
 boolean isInstruction(StartElement element)
           
 void service(ServiceManager manager)
           
 void setupInstructions(Configuration conf)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInstructionFactory

public DefaultInstructionFactory()
Method Detail

isInstruction

public boolean isInstruction(StartElement element)
Specified by:
isInstruction in interface InstructionFactory

createInstruction

public Instruction createInstruction(ParsingContext parsingContext,
                                     StartElement startElement,
                                     Attributes attrs,
                                     Stack stack)
                              throws SAXException
Specified by:
createInstruction in interface InstructionFactory
Throws:
SAXException

setupInstructions

public void setupInstructions(Configuration conf)
                       throws ConfigurationException
Throws:
ConfigurationException

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException
See Also:
Serviceable.service(org.apache.avalon.framework.service.ServiceManager)

configure

public void configure(Configuration omitted)
               throws ConfigurationException
Specified by:
configure in interface Configurable
Throws:
ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)


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