Textractor API textractor-720 (20091120123250)

textractor.xml.pubmed.xml
Class AccessionNumberList

java.lang.Object
  extended by textractor.xml.pubmed.xml.AccessionNumberList
All Implemented Interfaces:
Serializable

public class AccessionNumberList
extends Object
implements Serializable

Class AccessionNumberList.

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

Constructor Summary
AccessionNumberList()
           
 
Method Summary
 void addAccessionNumber(AccessionNumber vAccessionNumber)
           
 void addAccessionNumber(int index, AccessionNumber vAccessionNumber)
           
 Enumeration enumerateAccessionNumber()
          Method enumerateAccessionNumber
 AccessionNumber[] getAccessionNumber()
          Method getAccessionNumber
 AccessionNumber getAccessionNumber(int index)
          Method getAccessionNumber
 int getAccessionNumberCount()
          Method getAccessionNumberCount
 boolean isValid()
          Method isValid
 Iterator iterateAccessionNumber()
          Method iterateAccessionNumber
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 boolean removeAccessionNumber(AccessionNumber vAccessionNumber)
          Method removeAccessionNumber
 AccessionNumber removeAccessionNumberAt(int index)
          Method removeAccessionNumberAt
 void removeAllAccessionNumber()
           
 void setAccessionNumber(AccessionNumber[] vAccessionNumberArray)
           
 void setAccessionNumber(int index, AccessionNumber vAccessionNumber)
           
static AccessionNumberList 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

AccessionNumberList

public AccessionNumberList()
Method Detail

addAccessionNumber

public void addAccessionNumber(AccessionNumber vAccessionNumber)
                        throws IndexOutOfBoundsException
Parameters:
vAccessionNumber -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addAccessionNumber

public void addAccessionNumber(int index,
                               AccessionNumber vAccessionNumber)
                        throws IndexOutOfBoundsException
Parameters:
index -
vAccessionNumber -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateAccessionNumber

public Enumeration enumerateAccessionNumber()
Method enumerateAccessionNumber

Returns:
an Enumeration over all possible elements of this collection

getAccessionNumber

public AccessionNumber getAccessionNumber(int index)
                                   throws IndexOutOfBoundsException
Method getAccessionNumber

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

getAccessionNumber

public AccessionNumber[] getAccessionNumber()
Method getAccessionNumber

Returns:
this collection as an Array

getAccessionNumberCount

public int getAccessionNumberCount()
Method getAccessionNumberCount

Returns:
the size of this collection

isValid

public boolean isValid()
Method isValid

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

iterateAccessionNumber

public Iterator iterateAccessionNumber()
Method iterateAccessionNumber

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

removeAccessionNumber

public boolean removeAccessionNumber(AccessionNumber vAccessionNumber)
Method removeAccessionNumber

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

removeAccessionNumberAt

public AccessionNumber removeAccessionNumberAt(int index)
Method removeAccessionNumberAt

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

removeAllAccessionNumber

public void removeAllAccessionNumber()

setAccessionNumber

public void setAccessionNumber(int index,
                               AccessionNumber vAccessionNumber)
                        throws IndexOutOfBoundsException
Parameters:
index -
vAccessionNumber -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setAccessionNumber

public void setAccessionNumber(AccessionNumber[] vAccessionNumberArray)
Parameters:
vAccessionNumberArray -

unmarshal

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

Parameters:
reader -
Returns:
the unmarshaled textractor.xml.pubmed.xml.AccessionNumberList
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.