| Constructors in uk.org.jcam.processor.trimmer that throw FunctionException |
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)
|
Context(org.jdom.Element elm,
org.jdom.Element root)
Context
Constructs a Context object to evaluate the condition and then apply the enclosed constraints or sub-Contexts |
Context(org.jdom.Element elm,
org.jdom.Element root,
boolean ignoreScope)
|
Context(org.jdom.Element elm,
org.jdom.Element root,
org.jdom.Element xmlFileElement)
|
| Methods in uk.org.jcam.processor.validator that throw FunctionException |
boolean |
UnOrderedValidatorStrict.checkElements(org.jdom.Element templateElement,
org.jdom.Element xmlParent)
|
boolean |
UnOrderedValidatorLax.checkElements(org.jdom.Element templateElement,
org.jdom.Element xmlParent)
|
boolean |
DefaultValidator.Validate(org.jdom.Element templateElement,
org.jdom.Element xmlFileElement,
boolean ordered)
Validates the CAMtemplate.xmlfile against CAMtemplate.template
Logic: For every element/attribute in Trimmed Document
check exist associated item in xmlfile
check correct values etc against CAMtemplate attributes
Recurses through the Template Tree keep trees in step for makeRepeatable and makeOptional
check if element is repeatable
if so count number of repetitions in xmlfile and duplicate that number in template. |
boolean |
UnOrderedValidatorLax.validateChildren(org.jdom.Element templateElement,
org.jdom.Element xmlFileElement)
|
boolean |
DefaultValidator.validateChildren(org.jdom.Element templateElement,
org.jdom.Element xmlFileElement)
|