| org.apache.cocoon.components.language.markup.AbstractMarkupLanguage org.apache.cocoon.components.language.markup.CocoonMarkupLanguage
All known Subclasses: org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage,
Inner Class :public class CocoonTransformerChainBuilderFilter extends TransformerChainBuilderFilter | |
CocoonMarkupLanguage | public CocoonMarkupLanguage()(Code) | | The default constructor.
|
getPreprocessFilter | protected AbstractXMLPipe getPreprocessFilter(String filename, AbstractXMLPipe filter, ProgrammingLanguage language)(Code) | | Prepare the input source for logicsheet processing and code generation
with a preprocess filter.
The return XMLFilter object is the first filter on the
transformer chain.
The markup language preprocess filter adds information on the root element
such as creation-date, file-name and file-path, plus it use the the passed
programming language to quote Strings on PCDATA node.
Parameters: filename - The source filename Parameters: language - The target programming language The preprocess filter See Also: PreProcessFilter |
getRootElement | abstract public String getRootElement()(Code) | | Returns the root element for this language.
|
getTransformerChainBuilder | protected TransformerChainBuilderFilter getTransformerChainBuilder(LogicsheetCodeGenerator logicsheetMarkupGenerator)(Code) | | Returns a filter that chain on the fly the requested transformers for source
code generation. This method scans the input SAX events for
<?xml-logicsheet?> processing instructions and top-level
<prefix:logicsheet> elements. Logicsheet declarations are removed from
the input document.
Parameters: logicsheetMarkupGenerator - the logicsheet markup generator XMLFilter the filter that build on the fly the transformer chain |
recycle | public void recycle()(Code) | | Recycle this component: clear logic sheet list and dependencies.
|
Methods inherited from org.apache.cocoon.components.language.markup.AbstractMarkupLanguage | abstract protected void addDependency(String location)(Code)(Java Doc) protected void addLogicsheetToList(LanguageDescriptor language, String logicsheetLocation) throws IOException, SAXException, ProcessingException(Code)(Java Doc) protected void addLogicsheetsToGenerator(LogicsheetCodeGenerator codeGenerator) throws MalformedURLException, IOException, SAXException, ProcessingException(Code)(Java Doc) public void configure(Configuration conf) throws ConfigurationException(Code)(Java Doc) public void dispose()(Code)(Java Doc) public String generateCode(Source source, String filename, ProgrammingLanguage programmingLanguage) throws Exception(Code)(Java Doc) public String getEncoding()(Code)(Java Doc) protected LogicsheetFilter getLogicsheetFilter()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getPrefix()(Code)(Java Doc) protected AbstractXMLPipe getPreprocessFilter(String filename, AbstractXMLPipe filter, ProgrammingLanguage language)(Code)(Java Doc) protected TransformerChainBuilderFilter getTransformerChainBuilder(LogicsheetCodeGenerator logicsheetMarkupGenerator)(Code)(Java Doc) public String getURI()(Code)(Java Doc) public boolean hasAttrInterpolation()(Code)(Java Doc) public boolean hasTextInterpolation()(Code)(Java Doc) public void recycle()(Code)(Java Doc) public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
|
|
|