| org.apache.cocoon.components.language.markup.MarkupLanguage
All known Subclasses: org.apache.cocoon.components.language.markup.AbstractMarkupLanguage,
MarkupLanguage | public interface MarkupLanguage extends Component(Code) | | This interface defines a markup language whose SAX producer's instance are to
be translated into an executable program capable or transforming the original
document augmenting it with dynamic content
author: Ricardo Rocha author: Vadim Gritsenko version: CVS $Id: MarkupLanguage.java 433543 2006-08-22 06:22:54Z crossley $ |
generateCode | String generateCode(Source source, String filename, ProgrammingLanguage programmingLanguage) throws Exception(Code) | | Generate source code from the input source for the target
ProgrammingLanguage .
Parameters: source - The source document Parameters: filename - The input document's original filename Parameters: programmingLanguage - The target programming language The generated source code exception: Exception - If an error occurs during code generation |
getEncoding | String getEncoding()(Code) | | Return the input document's encoding or null if it is the
platform's default encoding.
This method should be called after generateCode method.
The input document's encoding |
|
|