org.apache.cocoon.template
Class TemplateConsumer
java.lang.Object
org.apache.cocoon.template.script.Parser
org.apache.cocoon.template.TemplateConsumer
- All Implemented Interfaces:
- ContentHandler, LexicalHandler, org.apache.cocoon.xml.XMLConsumer, XMLConsumer
- public class TemplateConsumer
- extends Parser
- implements org.apache.cocoon.xml.XMLConsumer
Methods inherited from class org.apache.cocoon.template.script.Parser |
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, getStartEvent, ignorableWhitespace, processingInstruction, recycle, setDocumentLocator, setParsingContext, skippedEntity, startCDATA, startDocument, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateConsumer
public TemplateConsumer()
getGenerator
public JXTemplateGenerator getGenerator()
setGenerator
public void setGenerator(JXTemplateGenerator generator)
getStringTemplateParser
public org.apache.cocoon.el.parsing.StringTemplateParser getStringTemplateParser()
setStringTemplateParser
public void setStringTemplateParser(org.apache.cocoon.el.parsing.StringTemplateParser stringTemplateParser)
getInstructionFactory
public InstructionFactory getInstructionFactory()
setInstructionFactory
public void setInstructionFactory(InstructionFactory instructionFactory)
initialize
public void initialize()
setup
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
- Throws:
org.apache.cocoon.ProcessingException
SAXException
IOException
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class Parser
- Throws:
SAXException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.