org.apache.abdera.i18n.templates
Class CachingContext
java.lang.Object
org.apache.abdera.i18n.templates.AbstractContext
org.apache.abdera.i18n.templates.CachingContext
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<String>, Context
- Direct Known Subclasses:
- DelegatingContext, ObjectContext
public abstract class CachingContext
- extends AbstractContext
Abstract Context implementation that caches resolved values so that do not have to be resolved again
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingContext
public CachingContext()
resolve
public <T> T resolve(String var)
- Description copied from interface:
Context
- Resolve a value for the specified variable. The method can return either a String, an Array or a Collection.
resolveActual
protected abstract <T> T resolveActual(String var)
clear
public void clear()
- Description copied from interface:
Context
- Clear this context
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.