uk.ac.essex.common.action.xml
Class Seperator

java.lang.Object
  extended by uk.ac.essex.common.action.xml.Seperator
All Implemented Interfaces:
java.io.Serializable

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

Class Seperator.

See Also:
Serialized Form

Constructor Summary
Seperator()
           
 
Method Summary
 void deleteIndex()
           
 int getIndex()
          Returns the value of field 'index'.
 boolean hasIndex()
          Method hasIndex.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setIndex(int index)
          Sets the value of field 'index'.
static Seperator 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

Seperator

public Seperator()
Method Detail

deleteIndex

public void deleteIndex()

getIndex

public int getIndex()
Returns the value of field 'index'.

Returns:
the value of field 'Index'.

hasIndex

public boolean hasIndex()
Method hasIndex.

Returns:
true if at least one Index has been added

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

setIndex

public void setIndex(int index)
Sets the value of field 'index'.

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

unmarshal

public static Seperator 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.common.action.xml.Seperator
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