|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITemplateResolver
Protocol for resolving JET template paths into actual input - used by the JET parser and compiler.
Method Summary | |
---|---|
java.net.URI[] |
getBaseLocations()
Return the base locations from which the template resolver will load templates |
ITemplateInput |
getIncludedInput(java.lang.String templatePath,
ITemplateInput[] activeInputs)
Return the appropriate template input, given a template path, and the current stack of template inputs. |
ITemplateInput |
getInput(java.lang.String templatePath)
Return the template input given a template path. |
Method Detail |
---|
ITemplateInput getInput(java.lang.String templatePath)
templatePath
- the JET template path
null
ITemplateInput getIncludedInput(java.lang.String templatePath, ITemplateInput[] activeInputs) throws RecursiveIncludeException
templatePath
- the JET template pathactiveInputs
- the input stack.
null
RecursiveIncludeException
- if including templatePath would result in a recursive loop
java.lang.NullPointerException
- if either argument is null
java.lang.IllegalArgumentException
- if inputStack
does not contain at least one element.java.net.URI[] getBaseLocations()
|
Copyright 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |