|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.xml.sax.helpers.XMLFilterImpl | +--org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.TransformerChainBuilderFilter
An XMLFilter that build the chain of transformers on the fly. Each time a stylesheet is found, a call to the code generator is done to add the new transformer at the end of the current transformer chain.
Field Summary | |
protected AbstractMarkupLanguage.LanguageDescriptor |
language
the language description |
protected LogicsheetCodeGenerator |
logicsheetMarkupGenerator
The markup generator |
protected SourceResolver |
resolver
the entity resolver |
Constructor Summary | |
protected |
AbstractMarkupLanguage.TransformerChainBuilderFilter(LogicsheetCodeGenerator logicsheetMarkupGenerator,
SourceResolver resolver)
the constructor depends on the code generator, and the entity resolver |
Method Summary | |
protected void |
setLanguageDescriptor(AbstractMarkupLanguage.LanguageDescriptor language)
This method should be called prior to receiving any SAX event. |
void |
startDocument()
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
|
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected LogicsheetCodeGenerator logicsheetMarkupGenerator
protected AbstractMarkupLanguage.LanguageDescriptor language
protected SourceResolver resolver
Constructor Detail |
protected AbstractMarkupLanguage.TransformerChainBuilderFilter(LogicsheetCodeGenerator logicsheetMarkupGenerator, SourceResolver resolver)
logicsheetMarkupGenerator
- The code generatorresolver
- Method Detail |
protected void setLanguageDescriptor(AbstractMarkupLanguage.LanguageDescriptor language)
public void startDocument() throws org.xml.sax.SAXException
startDocument
in class org.xml.sax.helpers.XMLFilterImpl
ContentHandler
public void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
startPrefixMapping
in class org.xml.sax.helpers.XMLFilterImpl
ContentHandler
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
startElement
in class org.xml.sax.helpers.XMLFilterImpl
ContentHandler
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |