Interface ParseContext<P extends ParseContext<P>>

All Known Subinterfaces:
ArooaContext, SimpleParseContext
All Known Implementing Classes:
DesignInstanceContext, DesignSeedContext, HandlerOverrideContext, OverrideContext, RootContext, SessionOverrideContext, SimpleParseContext.SimpleImpl, SimpleParseContext.SimpleRoot

public interface ParseContext<P extends ParseContext<P>>
A context in which an ArooaConfiguration is parsed.

The context parameterised to allow richer contexts to be parsed for specific purposes such as bean creation or design.

param

The type of the context.

See Also:
  • Method Details

    • getParent

      P getParent()
      Get the parent ArooaContext
      Returns:
      The parent context. This will be null for the root context.
    • getElementHandler

      ElementHandler<P> getElementHandler()
      Get the ElementHandler that will be used to process any child elements.
      Returns:
      A handler. Never null.
    • getPrefixMappings

      PrefixMappings getPrefixMappings()
      Get the prefix mappings for this context.
      Returns:
      The prefix mappings.
    • getConfigurationNode

      ConfigurationNode<P> getConfigurationNode()
      Get the ConfigurationNode for this context.
      Returns:
      A RuntimeNode. Never null.
    • destroy

      void destroy()
      Destroy this context.