|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jet.core.parser.AbstractTemplateResolver
org.eclipse.jet.core.parser.DefaultTemplateResolver
public final class DefaultTemplateResolver
Default implementation of ITemplateResolver
that is independent of
the Eclipse workspace. By specifying a ITemplateResolverHelperFactory
,
template resolution helpers ITemplateResolverHelper
instances may be
created that leverage knowledge in the eclipse workspace.
Nested Class Summary | |
---|---|
static class |
DefaultTemplateResolver.Builder
Builder for DefaultTemplateResolver |
Method Summary | |
---|---|
protected ITemplateInput |
createTemplateInput(java.net.URI baseLocation,
java.lang.String templatePath)
Create a Template Input from the give base location and templatePath |
protected boolean |
inputExists(java.net.URI baseLocation,
java.lang.String templatePath)
Test whether the template input exists. |
Methods inherited from class org.eclipse.jet.core.parser.AbstractTemplateResolver |
---|
getBaseLocations, getIncludedInput, getInput |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jet.core.parser.ITemplateResolver |
---|
getBaseLocations, getIncludedInput, getInput |
Method Detail |
---|
protected ITemplateInput createTemplateInput(java.net.URI baseLocation, java.lang.String templatePath)
createTemplateInput
in class AbstractTemplateResolver
baseLocation
- a base loctiontemplatePath
- a templatePath
protected boolean inputExists(java.net.URI baseLocation, java.lang.String templatePath)
inputExists
in class AbstractTemplateResolver
baseLocation
- the baseLocationtemplatePath
- the template path
true
if createTemplateInput(URI, String)
}
will succeed, false
otherwise.
|
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 |