uk.org.jcam.processor.trimmer
Class Constraint

java.lang.Object
  extended by uk.org.jcam.processor.trimmer.Constraint

public class Constraint
extends java.lang.Object

uk.org.jcam.processor.CAMConstraint.java Provides a handler for a cam constraint either with or without a condition If conditional will check the condition and then perform the associated actions if the condition is true User: robertmm Date: 18-Jun-2003 Time: 11:14:00


Field Summary
static java.lang.String ID
           
 
Constructor Summary
Constraint(org.jdom.Element constraint, org.jdom.Element root)
          CAMConstraint Constructs a CAMconstraint based on the Element being passed in.
Constraint(org.jdom.Element constraint, org.jdom.Element root, org.jdom.Element xmlFileElement)
          CAMConstraint Constructs a CAMconstraint based on the Element being passed in.
Constraint(org.jdom.Element constraint, java.lang.String contextCondition, org.jdom.Element root)
           
Constraint(org.jdom.Element constraint, java.lang.String contextCondition, org.jdom.Element root, org.jdom.Element xmlFileElement)
           
 
Method Summary
static java.lang.String getID()
           
static void setID(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static java.lang.String ID
Constructor Detail

Constraint

public Constraint(org.jdom.Element constraint,
                  org.jdom.Element root)
           throws Parameters.ParametersException,
                  Parser.ParserException,
                  org.jdom.JDOMException,
                  FunctionException,
                  org.jaxen.JaxenException,
                  ContainerException
CAMConstraint Constructs a CAMconstraint based on the Element being passed in.

Parameters:
constraint - Constraint Element
Throws:
org.jaxen.JaxenException
ContainerException
Parameters.ParametersException
Parser.ParserException
org.jdom.JDOMException
FunctionException

Constraint

public Constraint(org.jdom.Element constraint,
                  java.lang.String contextCondition,
                  org.jdom.Element root)
           throws Parameters.ParametersException,
                  Parser.ParserException,
                  org.jdom.JDOMException,
                  FunctionException,
                  org.jaxen.JaxenException,
                  ContainerException
Throws:
Parameters.ParametersException
Parser.ParserException
org.jdom.JDOMException
FunctionException
org.jaxen.JaxenException
ContainerException

Constraint

public Constraint(org.jdom.Element constraint,
                  org.jdom.Element root,
                  org.jdom.Element xmlFileElement)
           throws Parameters.ParametersException,
                  Parser.ParserException,
                  org.jdom.JDOMException,
                  FunctionException,
                  org.jaxen.JaxenException,
                  ContainerException
CAMConstraint Constructs a CAMconstraint based on the Element being passed in.

Parameters:
template - template being manipulated
constraint - Constraint Element
Throws:
org.jaxen.JaxenException
ContainerException
Parameters.ParametersException
Parser.ParserException
org.jdom.JDOMException
FunctionException

Constraint

public Constraint(org.jdom.Element constraint,
                  java.lang.String contextCondition,
                  org.jdom.Element root,
                  org.jdom.Element xmlFileElement)
           throws Parameters.ParametersException,
                  Parser.ParserException,
                  org.jdom.JDOMException,
                  FunctionException,
                  org.jaxen.JaxenException,
                  ContainerException
Throws:
Parameters.ParametersException
Parser.ParserException
org.jdom.JDOMException
FunctionException
org.jaxen.JaxenException
ContainerException
Method Detail

getID

public static java.lang.String getID()
Returns:
Returns the iD.

setID

public static void setID(java.lang.String id)
Parameters:
id - The iD to set.