|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.chaperon.process.extended.ExtendedDirectParserProcessor org.apache.cocoon.transformation.ExtendedParserTransformer
public class ExtendedParserTransformer
Nested Class Summary | |
---|---|
static class |
ExtendedParserTransformer.GrammarEntry
This class represent a entry in a store to cache the parser automaton. |
Field Summary |
---|
Fields inherited from class net.sourceforge.chaperon.process.extended.ExtendedDirectParserProcessor |
---|
NS_OUTPUT |
Fields inherited from interface org.apache.cocoon.transformation.Transformer |
---|
ROLE |
Constructor Summary | |
---|---|
ExtendedParserTransformer()
|
Method Summary | |
---|---|
void |
dispose()
The dispose operation is called at the end of a components lifecycle. |
void |
enableLogging(Logger logger)
Provide component with a logger. |
Serializable |
getKey()
Generate the unique key. |
SourceValidity |
getValidity()
Generate the validity object. |
void |
parameterize(Parameters parameters)
Provide component with parameters. |
void |
recycle()
Recycle this component. |
void |
service(ServiceManager manager)
Pass the ServiceManager to the object. |
void |
setConsumer(XMLConsumer consumer)
Set the XMLConsumer that will receive XML data. |
void |
setup(SourceResolver resolver,
Map objectmodel,
String src,
Parameters parameters)
Set the SourceResolver, objectModel Map, the source and sitemap Parameters used to process the request. |
Methods inherited from class net.sourceforge.chaperon.process.extended.ExtendedDirectParserProcessor |
---|
characters, comment, endCDATA, endDocument, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, setExtendedGrammar, setFlatten, setLexicalHandler, setLog, 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 |
Methods inherited from interface org.xml.sax.ContentHandler |
---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
Methods inherited from interface org.xml.sax.ext.LexicalHandler |
---|
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
Constructor Detail |
---|
public ExtendedParserTransformer()
Method Detail |
---|
public void enableLogging(Logger logger)
enableLogging
in interface LogEnabled
logger
- the loggerpublic void service(ServiceManager manager)
service
in interface Serviceable
manager
- The ServiceManager which this Serviceable uses.public void parameterize(Parameters parameters) throws ParameterException
parameterize
in interface Parameterizable
parameters
- the parameters
ParameterException
- if parameters are invalidpublic void setConsumer(XMLConsumer consumer)
XMLConsumer
that will receive XML data.
setConsumer
in interface XMLProducer
consumer
- public void setup(SourceResolver resolver, Map objectmodel, String src, Parameters parameters) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
resolver
- Source resolverobjectmodel
- Object modelsrc
- Sourceparameters
- Parameters
IOException
ProcessingException
SAXException
public Serializable getKey()
getKey
in interface CacheableProcessingComponent
public SourceValidity getValidity()
getValidity
in interface CacheableProcessingComponent
null
if the component is currently not
cacheable.public void recycle()
null
.
recycle
in interface Recyclable
public void dispose()
dispose
in interface Disposable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |