xcodegen.structure
Class XMethod

java.lang.Object
  |
  +--xcodegen.structure.XObject
        |
        +--xcodegen.structure.XMethod
Direct Known Subclasses:
XFinder, XRemover

public class XMethod
extends XObject

Base class for methods

Version:
$Revision: 1.4 $
Author:
Herve

Constructor Summary
XMethod()
           
 
Method Summary
 XParameter getParameter(java.lang.String name)
          Get a parameter by its name
 java.util.Collection getParameters()
           
 java.lang.String getWhere()
           
 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

XMethod

public XMethod()
Method Detail

getParameter

public XParameter getParameter(java.lang.String name)
Get a parameter by its name

Parameters:
name - name of the parameter requested
Returns:
parameter requested

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

getWhere

public java.lang.String getWhere()

getParameters

public java.util.Collection getParameters()