org.eclipse.jet
Class AbstractContextExtender
java.lang.Object
org.eclipse.jet.AbstractContextExtender
- Direct Known Subclasses:
- TransformContextExtender, WorkspaceContextExtender, XPathContextExtender
- public abstract class AbstractContextExtender
- extends Object
A base class for extending the JET2 context.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContextExtender
protected AbstractContextExtender(JET2Context context)
createExtendedData
protected abstract Object createExtendedData(JET2Context context)
- Called by the AbstractContextExtender constructor if the extender's data
has not yet been created in the context.
- Parameters:
context
- the context in which the data will be created.
- Returns:
- the extension data object.
getExtendedData
protected Object getExtendedData()
getContext
public final JET2Context getContext()
- Return the JET2Context that this extender instance is extending.
- Returns:
- the hosting context.