xcodegen.structure
Class XRuleExpr

java.lang.Object
  |
  +--xcodegen.structure.XObject
        |
        +--xcodegen.structure.XRuleExpr
Direct Known Subclasses:
XRuleCondition, XRuleOp

public class XRuleExpr
extends XObject

Expression

Version:
$Revision: 1.2 $
Author:
Herve Tchepannou

Constructor Summary
XRuleExpr()
           
 
Method Summary
 java.util.Collection getExpressions()
           
 java.lang.String getName()
          Override getName() because Expression are unnamed
 java.lang.String getType()
           
 XClass getXClass()
           
 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, 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

XRuleExpr

public XRuleExpr()
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

getName

public java.lang.String getName()
Override getName() because Expression are unnamed

Overrides:
getName in class XObject

getType

public java.lang.String getType()

getXClass

public XClass getXClass()

getExpressions

public java.util.Collection getExpressions()