Textractor API textractor-720 (20091120123250)

textractor.acronyms.xml
Class Expansions

java.lang.Object
  extended by textractor.acronyms.xml.Expansions
All Implemented Interfaces:
Serializable

public class Expansions
extends Object
implements Serializable

Class Expansions.

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

Constructor Summary
Expansions()
           
 
Method Summary
 void addExpansionsItem(ExpansionsItem vExpansionsItem)
           
 void addExpansionsItem(int index, ExpansionsItem vExpansionsItem)
           
 Enumeration enumerateExpansionsItem()
          Method enumerateExpansionsItem
 ExpansionsItem[] getExpansionsItem()
          Method getExpansionsItem
 ExpansionsItem getExpansionsItem(int index)
          Method getExpansionsItem
 int getExpansionsItemCount()
          Method getExpansionsItemCount
 boolean isValid()
          Method isValid
 Iterator iterateExpansionsItem()
          Method iterateExpansionsItem
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllExpansionsItem()
           
 boolean removeExpansionsItem(ExpansionsItem vExpansionsItem)
          Method removeExpansionsItem
 ExpansionsItem removeExpansionsItemAt(int index)
          Method removeExpansionsItemAt
 void setExpansionsItem(ExpansionsItem[] vExpansionsItemArray)
           
 void setExpansionsItem(int index, ExpansionsItem vExpansionsItem)
           
static Expansions unmarshal(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

Expansions

public Expansions()
Method Detail

addExpansionsItem

public void addExpansionsItem(ExpansionsItem vExpansionsItem)
                       throws IndexOutOfBoundsException
Parameters:
vExpansionsItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addExpansionsItem

public void addExpansionsItem(int index,
                              ExpansionsItem vExpansionsItem)
                       throws IndexOutOfBoundsException
Parameters:
index -
vExpansionsItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateExpansionsItem

public Enumeration enumerateExpansionsItem()
Method enumerateExpansionsItem

Returns:
an Enumeration over all possible elements of this collection

getExpansionsItem

public ExpansionsItem getExpansionsItem(int index)
                                 throws IndexOutOfBoundsException
Method getExpansionsItem

Parameters:
index -
Returns:
the value of the textractor.acronyms.xml.ExpansionsItem at the given index
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getExpansionsItem

public ExpansionsItem[] getExpansionsItem()
Method getExpansionsItem

Returns:
this collection as an Array

getExpansionsItemCount

public int getExpansionsItemCount()
Method getExpansionsItemCount

Returns:
the size of this collection

isValid

public boolean isValid()
Method isValid

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

iterateExpansionsItem

public Iterator iterateExpansionsItem()
Method iterateExpansionsItem

Returns:
an Iterator over all possible elements in this collection

marshal

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

marshal

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

removeAllExpansionsItem

public void removeAllExpansionsItem()

removeExpansionsItem

public boolean removeExpansionsItem(ExpansionsItem vExpansionsItem)
Method removeExpansionsItem

Parameters:
vExpansionsItem -
Returns:
true if the object was removed from the collection.

removeExpansionsItemAt

public ExpansionsItem removeExpansionsItemAt(int index)
Method removeExpansionsItemAt

Parameters:
index -
Returns:
the element removed from the collection

setExpansionsItem

public void setExpansionsItem(int index,
                              ExpansionsItem vExpansionsItem)
                       throws IndexOutOfBoundsException
Parameters:
index -
vExpansionsItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setExpansionsItem

public void setExpansionsItem(ExpansionsItem[] vExpansionsItemArray)
Parameters:
vExpansionsItemArray -

unmarshal

public static Expansions unmarshal(Reader reader)
                            throws MarshalException,
                                   ValidationException
Method unmarshal

Parameters:
reader -
Returns:
the unmarshaled textractor.acronyms.xml.Expansions
Throws:
MarshalException - if object is null or if any SAXException is thrown during marshaling
ValidationException - if this object is an invalid instance according to the schema

validate

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

Textractor API textractor-720 (20091120123250)

Copyright © 2003-2008 Institute for Computational Biomedicine, All Rights Reserved.