public class OverrideContext<P extends ParseContext<P>> extends 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()
ParseContextArooaContextgetParent in interface ParseContext<P extends ParseContext<P>>public ElementHandler<P> getElementHandler()
ParseContextElementHandler that will be used to process any child
elements.getElementHandler in interface ParseContext<P extends ParseContext<P>>public PrefixMappings getPrefixMappings()
ParseContextgetPrefixMappings in interface ParseContext<P extends ParseContext<P>>public ConfigurationNode<P> getConfigurationNode()
ParseContextConfigurationNode for this context.getConfigurationNode in interface ParseContext<P extends ParseContext<P>>public void destroy()
ParseContextdestroy in interface ParseContext<P extends ParseContext<P>>Copyright © 2023. All rights reserved.