com.opensymphony.workflow.loader
Class ValidatorDescriptor

java.lang.Object
  extended by com.opensymphony.workflow.loader.AbstractDescriptor
      extended by com.opensymphony.workflow.loader.ValidatorDescriptor
All Implemented Interfaces:
XMLizable, Serializable

public class ValidatorDescriptor
extends AbstractDescriptor

A validator is a helper used to verify values in the input map that is provided to every action call.

Author:
Pat Lightbody
See Also:
Serialized Form

Field Summary
protected  Map args
           
protected  String name
           
protected  String type
           
 
Fields inherited from interface com.opensymphony.workflow.util.XMLizable
INDENT
 
Method Summary
 Map getArgs()
           
 String getName()
           
 String getType()
           
protected  void init(org.w3c.dom.Element validator)
           
 void setName(String name)
           
 void setType(String type)
           
 void writeXML(PrintWriter out, int indent)
           
 
Methods inherited from class com.opensymphony.workflow.loader.AbstractDescriptor
asXML, getEntityId, getId, getParent, hasId, setEntityId, setId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

args

protected Map args

name

protected String name

type

protected String type
Method Detail

getArgs

public Map getArgs()

setName

public void setName(String name)

getName

public String getName()

setType

public void setType(String type)

getType

public String getType()

writeXML

public void writeXML(PrintWriter out,
                     int indent)

init

protected void init(org.w3c.dom.Element validator)

OpenSymphony Workflow Project Page