| org.apache.cocoon.components.language.generator.ProgramGenerator
All known Subclasses: org.apache.cocoon.components.language.generator.ProgramGeneratorImpl,
ProgramGenerator | public interface ProgramGenerator extends Component(Code) | | This interface defines a loader for programs automatically built from XML
documents written in a MarkupLanguage
author: Ricardo Rocha version: CVS $Id: ProgramGenerator.java 433543 2006-08-22 06:22:54Z crossley $ |
load | CompiledComponent load(ComponentManager newManager, String fileName, String markupLanguage, String programmingLanguage, SourceResolver resolver) throws Exception(Code) | | Load a program built from an XML document written in a
MarkupLanguage
Parameters: newManager - The ComponentManager that it will be loaded with Parameters: fileName - The input document's File name Parameters: markupLanguage - The MarkupLanguage in which the inputdocument is written Parameters: programmingLanguage - The ProgrammingLanguage in whichthe program must be written The loaded object exception: Exception - If an error occurs during generation or loading |
load | CompiledComponent load(ComponentManager newManager, Source source, String markupLanguage, String programmingLanguage, SourceResolver resolver) throws Exception(Code) | | Load a program built from an XML document written in a
MarkupLanguage
Parameters: newManager - The ComponentManager that it will be loaded with Parameters: source - The input document's File name Parameters: markupLanguage - The MarkupLanguage in which the inputdocument is written Parameters: programmingLanguage - The ProgrammingLanguage in whichthe program must be written The loaded object exception: Exception - If an error occurs during generation or loading |
release | void release(CompiledComponent component)(Code) | | Release a program instance built from an XML document written in a
MarkupLanguage .
Parameters: component - to be released. |
remove | void remove(Source source)(Code) | | Remove a program from the generator's cache and dipose all
instances of this program.
Parameters: source - of the program to be removed. |
|
|