org.apache.cocoon.template.script
Class DefaultInstructionFactory

java.lang.Object
  extended byorg.apache.cocoon.template.script.DefaultInstructionFactory
All Implemented Interfaces:
InstructionFactory

public class DefaultInstructionFactory
extends Object
implements InstructionFactory

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

Field Summary
 
Fields inherited from interface org.apache.cocoon.template.script.InstructionFactory
ROLE
 
Constructor Summary
DefaultInstructionFactory()
           
 
Method Summary
 Instruction createInstruction(ParsingContext parsingContext, StartElement startElement, Attributes attrs, Stack stack)
           
 SourceResolver getSourceResolver()
           
 void initialize()
           
 boolean isInstruction(StartElement element)
           
 void setSourceResolver(SourceResolver sourceResolver)
           
 void setupInstructions(Configuration conf)
           
 
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

getSourceResolver

public SourceResolver getSourceResolver()

setSourceResolver

public void setSourceResolver(SourceResolver sourceResolver)

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

initialize

public void initialize()
                throws BeanCreationException
Throws:
BeanCreationException


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