public class OverrideContext<P extends ParseContext<P>> extends java.lang.Object implements ParseContext<P>
ArooaContext
to allow behaviour to be altered. This is
a classic application of the Adaptor Pattern.Constructor and Description |
---|
OverrideContext(P context) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this context.
|
ConfigurationNode<P> |
getConfigurationNode()
Get the
ConfigurationNode for this context. |
ElementHandler<P> |
getElementHandler()
Get the
ElementHandler that will be used to process any child
elements. |
protected P |
getExistingContext() |
P |
getParent()
Get the parent
ArooaContext |
PrefixMappings |
getPrefixMappings()
Get the prefix mappings for this context.
|
public OverrideContext(P context)
protected P getExistingContext()
public P getParent()
ParseContext
ArooaContext
getParent
in interface ParseContext<P extends ParseContext<P>>
public ElementHandler<P> getElementHandler()
ParseContext
ElementHandler
that will be used to process any child
elements.getElementHandler
in interface ParseContext<P extends ParseContext<P>>
public PrefixMappings getPrefixMappings()
ParseContext
getPrefixMappings
in interface ParseContext<P extends ParseContext<P>>
public ConfigurationNode<P> getConfigurationNode()
ParseContext
ConfigurationNode
for this context.getConfigurationNode
in interface ParseContext<P extends ParseContext<P>>
public void destroy()
ParseContext
destroy
in interface ParseContext<P extends ParseContext<P>>