org.formaria.builder.generic
Class InstructionMapping

java.lang.Object
  extended by org.formaria.builder.generic.InstructionMapping

public class InstructionMapping
extends java.lang.Object

An instruction store

Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.


Constructor Summary
InstructionMapping(java.lang.String identifier)
          Creates a new instance of InstructionMapping
 
Method Summary
 void addInstruction(java.util.Properties instruction)
          Add an instruction
 InstructionProcessor getProcessor()
          Get the instruction processor
 void setProcessor(InstructionProcessor p)
          Set the custom builder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionMapping

public InstructionMapping(java.lang.String identifier)
Creates a new instance of InstructionMapping

Parameters:
identifier - the file format attribute used to identify the component type
Method Detail

addInstruction

public void addInstruction(java.util.Properties instruction)
Add an instruction

Parameters:
instruction - the instruction

getProcessor

public InstructionProcessor getProcessor()
Get the instruction processor

Returns:
the processor or null if none has been set or if the builder provides the required methods

setProcessor

public void setProcessor(InstructionProcessor p)
Set the custom builder.

Parameters:
p -