public abstract class TemplateLookupResult
extends java.lang.Object
TemplateLookupStrategy.lookup(TemplateLookupContext)
and similar lookup methods. You
usually get one from TemplateLookupContext.lookupWithAcquisitionStrategy(String)
or
TemplateLookupContext.createNegativeLookupResult()
; you can't create instances of this directly.Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getTemplateSourceName()
The source name of the template found (see
Template.getSourceName() ), or null if
isPositive() is false . |
abstract boolean |
isPositive()
Tells if the lookup has found a matching template.
|
public abstract java.lang.String getTemplateSourceName()
Template.getSourceName()
), or null
if
isPositive()
is false
.public abstract boolean isPositive()