|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.AbstractXMLPipe
org.apache.cocoon.transformation.AbstractTransformer
org.apache.cocoon.transformation.TraxTransformer
public class TraxTransformer
Field Summary | |
---|---|
protected Map |
logicSheetParameters
Logicsheet parameters (protected because used by subclasses) |
protected ServiceManager |
manager
The service manager instance (protected because used by subclasses) |
protected Map |
objectModel
The object model (protected because used by subclasses) |
protected TransformerHandler |
transformerHandler
The trax TransformerHandler |
protected SourceValidity |
transformerValidity
The validity of the Transformer |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Fields inherited from interface org.apache.cocoon.transformation.Transformer |
---|
ROLE |
Constructor Summary | |
---|---|
TraxTransformer()
|
Method Summary | |
---|---|
void |
configure(Configuration conf)
Configure this transformer. |
void |
dispose()
Disposable |
void |
endDocument()
Fix for stopping hanging threads of Xalan |
Serializable |
getKey()
Generate the unique key. |
protected Map |
getLogicSheetParameters()
Get the parameters for the logicsheet |
SourceValidity |
getValidity()
Generate the validity object. |
void |
recycle()
Recyclable |
void |
service(ServiceManager manager)
Set the current ServiceManager instance used by this
Serviceable . |
void |
setConsumer(XMLConsumer consumer)
Set the XMLConsumer that will receive XML data. |
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
Set the SourceResolver , the Map with
the object model, the source and sitemap
Parameters used to process the request. |
void |
startDocument()
Receive notification of the beginning of a document. |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
---|
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
setContentHandler, setLexicalHandler |
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 |
Methods inherited from interface org.xml.sax.ContentHandler |
---|
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
---|
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Field Detail |
---|
protected ServiceManager manager
protected Map objectModel
protected Map logicSheetParameters
protected TransformerHandler transformerHandler
protected SourceValidity transformerValidity
Constructor Detail |
---|
public TraxTransformer()
Method Detail |
---|
public void configure(Configuration conf) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void service(ServiceManager manager) throws ServiceException
ServiceManager
instance used by this
Serviceable
.
service
in interface Serviceable
ServiceException
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws SAXException, ProcessingException, IOException
SourceResolver
, the Map
with
the object model, the source and sitemap
Parameters
used to process the request.
setup
in interface SitemapModelComponent
SAXException
ProcessingException
IOException
public Serializable getKey()
getKey
in interface CacheableProcessingComponent
public SourceValidity getValidity()
getValidity
in interface CacheableProcessingComponent
null
if the
component is currently not cacheable.public void setConsumer(XMLConsumer consumer)
XMLConsumer
that will receive XML data.
setConsumer
in interface XMLProducer
setConsumer
in class AbstractXMLProducer
protected Map getLogicSheetParameters()
public void dispose()
dispose
in interface Disposable
public void recycle()
recycle
in interface Recyclable
recycle
in class AbstractXMLProducer
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class AbstractXMLPipe
SAXException
public void startDocument() throws SAXException
AbstractXMLPipe
startDocument
in interface ContentHandler
startDocument
in class AbstractXMLPipe
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |