xcodegen.structure
Class XRule

java.lang.Object
  |
  +--xcodegen.structure.XObject
        |
        +--xcodegen.structure.XRule

public class XRule
extends XObject

Validation rule

Version:
$Revision: 1.3 $
Author:
Herve Tchepannou

Constructor Summary
XRule()
           
 
Method Summary
 XRuleExpr getExpression()
           
 boolean init(org.w3c.dom.Element elt, XObject parent, java.util.Collection errors)
          Initialize the object from a XML DOM Element
 
Methods inherited from class xcodegen.structure.XObject
add, addError, getBeanName, getChild, getChild, getChildren, getChildren, getDescription, getLogger, getLongName, getName, getParent, getXMLChild, getXMLChildText, getXMLChildText, getXMLText, hasChild, initChildren, trimXMLText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XRule

public XRule()
Method Detail

init

public boolean init(org.w3c.dom.Element elt,
                    XObject parent,
                    java.util.Collection errors)
             throws java.lang.Exception
Description copied from class: XObject
Initialize the object from a XML DOM Element

Overrides:
init in class XObject
Parameters:
elt - DOM element containing the configuration
parent - Parent object
errors - list of all the errors
Returns:
true on success
java.lang.Exception

getExpression

public XRuleExpr getExpression()