|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a loader for programs automatically built from XML
documents written in a MarkupLanguage
Field Summary | |
static String |
ROLE
|
Method Summary | |
CompiledComponent |
load(ServiceManager newManager,
Source source,
String markupLanguage,
String programmingLanguage,
SourceResolver resolver)
Load a program built from an XML document written in a MarkupLanguage |
CompiledComponent |
load(ServiceManager newManager,
String fileName,
String markupLanguage,
String programmingLanguage,
SourceResolver resolver)
Deprecated. Pass Source object instead of file name. |
void |
release(CompiledComponent component)
Release a program instance built from an XML document written in a MarkupLanguage . |
void |
remove(Source source)
Remove a program from the generator's cache and dipose all instances of this program. |
Field Detail |
public static final String ROLE
Method Detail |
public CompiledComponent load(ServiceManager newManager, String fileName, String markupLanguage, String programmingLanguage, SourceResolver resolver) throws Exception
MarkupLanguage
newManager
- The ServiceManager that it will be loaded withfileName
- The input document's File
namemarkupLanguage
- The MarkupLanguage
in which the input
document is writtenprogrammingLanguage
- The ProgrammingLanguage
in which
the program must be written
Exception
- If an error occurs during generation or loadingpublic CompiledComponent load(ServiceManager newManager, Source source, String markupLanguage, String programmingLanguage, SourceResolver resolver) throws Exception
MarkupLanguage
newManager
- The ServiceManager that it will be loaded withsource
- The input document's File
namemarkupLanguage
- The MarkupLanguage
in which the input
document is writtenprogrammingLanguage
- The ProgrammingLanguage
in which
the program must be written
Exception
- If an error occurs during generation or loadingpublic void release(CompiledComponent component)
MarkupLanguage
.
component
- to be released.public void remove(Source source)
source
- of the program to be removed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |