Class DesignConfiguration

java.lang.Object
org.oddjob.arooa.design.DesignConfiguration
All Implemented Interfaces:
ArooaConfiguration

public class DesignConfiguration extends Object implements ArooaConfiguration
Creates an ArooaConfiguration out of a ParsableDesignInstance so that a design can be parsed with an ArooaParser.
Author:
rob
  • Constructor Details

  • Method Details

    • parse

      public <P extends ParseContext<P>> ConfigurationHandle<P> parse(P parentContext) throws ArooaParseException
      Description copied from interface: ArooaConfiguration
      Parse the encapsulated configuration.
      Specified by:
      parse in interface ArooaConfiguration
      Type Parameters:
      P - The type of the context in which parsing occurs.
      Parameters:
      parentContext - The context in which this configuration will be parsed. This context will provide the ArooaHandler, and therefore subsequent child contexts.
      Returns:
      A ConfigurationHandle. The handle provides access to the context created as the result of the parse and a way of saving this context back into the configuration.
      Throws:
      ArooaParseException - If parsing fails.