uk.ac.essex.ia.opview.xml
Class OperatorDescriptor

java.lang.Object
  extended by uk.ac.essex.ia.opview.xml.OperatorDescriptor
All Implemented Interfaces:
java.io.Serializable

public class OperatorDescriptor
extends java.lang.Object
implements java.io.Serializable

Class OperatorDescriptor.

See Also:
Serialized Form

Constructor Summary
OperatorDescriptor()
           
 
Method Summary
 AcceptsInput getAcceptsInput()
          Returns the value of field 'acceptsInput'.
 java.lang.String getClassName()
          Returns the value of field 'className'.
 Connections getConnections()
          Returns the value of field 'connections'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 Dialog getDialog()
          Returns the value of field 'dialog'.
 java.lang.String getDocUrl()
          Returns the value of field 'docUrl'.
 java.lang.String getIcon()
          Returns the value of field 'icon'.
 java.lang.String getLabel()
          Returns the value of field 'label'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getOutputs()
          Returns the value of field 'outputs'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAcceptsInput(AcceptsInput acceptsInput)
          Sets the value of field 'acceptsInput'.
 void setClassName(java.lang.String className)
          Sets the value of field 'className'.
 void setConnections(Connections connections)
          Sets the value of field 'connections'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setDialog(Dialog dialog)
          Sets the value of field 'dialog'.
 void setDocUrl(java.lang.String docUrl)
          Sets the value of field 'docUrl'.
 void setIcon(java.lang.String icon)
          Sets the value of field 'icon'.
 void setLabel(java.lang.String label)
          Sets the value of field 'label'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setOutputs(java.lang.String outputs)
          Sets the value of field 'outputs'.
static OperatorDescriptor unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorDescriptor

public OperatorDescriptor()
Method Detail

getAcceptsInput

public AcceptsInput getAcceptsInput()
Returns the value of field 'acceptsInput'.

Returns:
the value of field 'AcceptsInput'.

getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.

Returns:
the value of field 'ClassName'.

getConnections

public Connections getConnections()
Returns the value of field 'connections'.

Returns:
the value of field 'Connections'.

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.

Returns:
the value of field 'Description'.

getDialog

public Dialog getDialog()
Returns the value of field 'dialog'.

Returns:
the value of field 'Dialog'.

getDocUrl

public java.lang.String getDocUrl()
Returns the value of field 'docUrl'.

Returns:
the value of field 'DocUrl'.

getIcon

public java.lang.String getIcon()
Returns the value of field 'icon'.

Returns:
the value of field 'Icon'.

getLabel

public java.lang.String getLabel()
Returns the value of field 'label'.

Returns:
the value of field 'Label'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'Name'.

getOutputs

public java.lang.String getOutputs()
Returns the value of field 'outputs'.

Returns:
the value of field 'Outputs'.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

setAcceptsInput

public void setAcceptsInput(AcceptsInput acceptsInput)
Sets the value of field 'acceptsInput'.

Parameters:
acceptsInput - the value of field 'acceptsInput'.

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.

Parameters:
className - the value of field 'className'.

setConnections

public void setConnections(Connections connections)
Sets the value of field 'connections'.

Parameters:
connections - the value of field 'connections'.

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.

Parameters:
description - the value of field 'description'.

setDialog

public void setDialog(Dialog dialog)
Sets the value of field 'dialog'.

Parameters:
dialog - the value of field 'dialog'.

setDocUrl

public void setDocUrl(java.lang.String docUrl)
Sets the value of field 'docUrl'.

Parameters:
docUrl - the value of field 'docUrl'.

setIcon

public void setIcon(java.lang.String icon)
Sets the value of field 'icon'.

Parameters:
icon - the value of field 'icon'.

setLabel

public void setLabel(java.lang.String label)
Sets the value of field 'label'.

Parameters:
label - the value of field 'label'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

setOutputs

public void setOutputs(java.lang.String outputs)
Sets the value of field 'outputs'.

Parameters:
outputs - the value of field 'outputs'.

unmarshal

public static OperatorDescriptor unmarshal(java.io.Reader reader)
                                    throws org.exolab.castor.xml.MarshalException,
                                           org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled uk.ac.essex.ia.opview.xml.OperatorDescriptor
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema