public static class GlobalTemplateVariables.Year extends SimpleTemplateVariableResolver
| Constructor and Description |
|---|
GlobalTemplateVariables.Year()
Creates a new year variable
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
resolve(TemplateContext context)
Returns an instance of the type resolved by the receiver available in
context. |
isUnambiguous, setEvaluationStringgetDescription, getType, resolve, resolveAll, setDescription, setTypepublic GlobalTemplateVariables.Year()
protected String resolve(TemplateContext context)
TemplateVariableResolvercontext.
To resolve means to provide a binding to a concrete text object (a
String) in the given context.
The default implementation looks up the type in the context.
resolve in class SimpleTemplateVariableResolvercontext - the context in which to resolve the typenull if it cannot be determinedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.