Class ModelAssembler

All Implemented Interfaces:
Direct Known Subclasses:
DefaultModelAssembler, InfModelAssembler, MemoryModelAssembler, UnionModelAssembler

public abstract class ModelAssembler extends AssemblerBase implements Assembler
  • Constructor Details

    • ModelAssembler

      public ModelAssembler()
  • Method Details

    • open

      public Object open(Assembler a, Resource root, Mode mode)
      Description copied from interface: Assembler
      The core operation: answer a new object constructed according to the object description hanging from root, using the assembler a for any sub-objects. Use mode to decide if persistent objects are to be re-used or created; this mode is passed down to all sub-object construction.
      Specified by:
      open in interface Assembler
      Specified by:
      open in class AssemblerBase
    • openModel

      public Model openModel(Resource root, Mode mode)
      Description copied from interface: Assembler
      Answer (Model) open( this, root, mode ), unless the result cannot be or is not a Model, in which case throw an exception.
      Specified by:
      openModel in interface Assembler
      openModel in class AssemblerBase