HPSearch

cgl.hpsearch.common.xml
Class Container

java.lang.Object
  extended bycgl.hpsearch.common.xml.Container
All Implemented Interfaces:
Serializable

public class Container
extends Object
implements Serializable

Class Container.

Version:
$Revision: 1.1 $ $Date: 2005/10/16 14:40:45 $
See Also:
Serialized Form

Constructor Summary
Container()
           
 
Method Summary
 void addItem(int index, Item vItem)
          Method addItem
 void addItem(Item vItem)
          Method addItem
 Enumeration enumerateItem()
          Method enumerateItem
 Item[] getItem()
          Method getItem
 Item getItem(int index)
          Method getItem
 int getItemCount()
          Method getItemCount
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void removeAllItem()
          Method removeAllItem
 Item removeItem(int index)
          Method removeItem
 void setItem(int index, Item vItem)
          Method setItem
 void setItem(Item[] itemArray)
          Method setItem
static Object unmarshal(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

Container

public Container()
Method Detail

addItem

public void addItem(Item vItem)
             throws IndexOutOfBoundsException
Method addItem

Parameters:
vItem -
Throws:
IndexOutOfBoundsException

addItem

public void addItem(int index,
                    Item vItem)
             throws IndexOutOfBoundsException
Method addItem

Parameters:
index -
vItem -
Throws:
IndexOutOfBoundsException

enumerateItem

public Enumeration enumerateItem()
Method enumerateItem


getItem

public Item getItem(int index)
             throws IndexOutOfBoundsException
Method getItem

Parameters:
index -
Throws:
IndexOutOfBoundsException

getItem

public Item[] getItem()
Method getItem


getItemCount

public int getItemCount()
Method getItemCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(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(ContentHandler handler)
             throws IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

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

removeAllItem

public void removeAllItem()
Method removeAllItem


removeItem

public Item removeItem(int index)
Method removeItem

Parameters:
index -

setItem

public void setItem(int index,
                    Item vItem)
             throws IndexOutOfBoundsException
Method setItem

Parameters:
index -
vItem -
Throws:
IndexOutOfBoundsException

setItem

public void setItem(Item[] itemArray)
Method setItem

Parameters:
itemArray -

unmarshal

public static Object unmarshal(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

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006