org.hardcode.juf.update
Class Updates

java.lang.Object
  extended by org.hardcode.juf.update.Updates
All Implemented Interfaces:
java.io.Serializable

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

Class Updates.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Updates()
           
 
Method Summary
 void addUpdate(int index, Update vUpdate)
          Method addUpdate
 void addUpdate(Update vUpdate)
          Method addUpdate
 java.util.Enumeration enumerateUpdate()
          Method enumerateUpdate
 Update[] getUpdate()
          Method getUpdate
 Update getUpdate(int index)
          Method getUpdate
 int getUpdateCount()
          Method getUpdateCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllUpdate()
          Method removeAllUpdate
 Update removeUpdate(int index)
          Method removeUpdate
 void setUpdate(int index, Update vUpdate)
          Method setUpdate
 void setUpdate(Update[] updateArray)
          Method setUpdate
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Updates

public Updates()
Method Detail

addUpdate

public void addUpdate(Update vUpdate)
               throws java.lang.IndexOutOfBoundsException
Method addUpdate

Parameters:
vUpdate -
Throws:
java.lang.IndexOutOfBoundsException

addUpdate

public void addUpdate(int index,
                      Update vUpdate)
               throws java.lang.IndexOutOfBoundsException
Method addUpdate

Parameters:
index -
vUpdate -
Throws:
java.lang.IndexOutOfBoundsException

enumerateUpdate

public java.util.Enumeration enumerateUpdate()
Method enumerateUpdate


getUpdate

public Update getUpdate(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getUpdate

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getUpdate

public Update[] getUpdate()
Method getUpdate


getUpdateCount

public int getUpdateCount()
Method getUpdateCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllUpdate

public void removeAllUpdate()
Method removeAllUpdate


removeUpdate

public Update removeUpdate(int index)
Method removeUpdate

Parameters:
index -

setUpdate

public void setUpdate(int index,
                      Update vUpdate)
               throws java.lang.IndexOutOfBoundsException
Method setUpdate

Parameters:
index -
vUpdate -
Throws:
java.lang.IndexOutOfBoundsException

setUpdate

public void setUpdate(Update[] updateArray)
Method setUpdate

Parameters:
updateArray -

unmarshal

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

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2005 . All Rights Reserved.