Textractor API textractor-720 (20091120123250)

textractor.xml.pubmedabstracts.xml
Class Agency

java.lang.Object
  extended by textractor.xml.pubmedabstracts.xml.Agency
All Implemented Interfaces:
Serializable

public class Agency
extends Object
implements Serializable

Class Agency.

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

Constructor Summary
Agency()
           
 
Method Summary
 void addAgencyItem(AgencyItem vAgencyItem)
           
 void addAgencyItem(int index, AgencyItem vAgencyItem)
           
 Enumeration enumerateAgencyItem()
          Method enumerateAgencyItem
 AgencyItem[] getAgencyItem()
          Method getAgencyItem
 AgencyItem getAgencyItem(int index)
          Method getAgencyItem
 int getAgencyItemCount()
          Method getAgencyItemCount
 String getContent()
          Returns the value of field 'content'.
 boolean isValid()
          Method isValid
 Iterator iterateAgencyItem()
          Method iterateAgencyItem
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 boolean removeAgencyItem(AgencyItem vAgencyItem)
          Method removeAgencyItem
 AgencyItem removeAgencyItemAt(int index)
          Method removeAgencyItemAt
 void removeAllAgencyItem()
           
 void setAgencyItem(AgencyItem[] vAgencyItemArray)
           
 void setAgencyItem(int index, AgencyItem vAgencyItem)
           
 void setContent(String content)
          Sets the value of field 'content'.
static Agency 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

Agency

public Agency()
Method Detail

addAgencyItem

public void addAgencyItem(AgencyItem vAgencyItem)
                   throws IndexOutOfBoundsException
Parameters:
vAgencyItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addAgencyItem

public void addAgencyItem(int index,
                          AgencyItem vAgencyItem)
                   throws IndexOutOfBoundsException
Parameters:
index -
vAgencyItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateAgencyItem

public Enumeration enumerateAgencyItem()
Method enumerateAgencyItem

Returns:
an Enumeration over all possible elements of this collection

getAgencyItem

public AgencyItem getAgencyItem(int index)
                         throws IndexOutOfBoundsException
Method getAgencyItem

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

getAgencyItem

public AgencyItem[] getAgencyItem()
Method getAgencyItem

Returns:
this collection as an Array

getAgencyItemCount

public int getAgencyItemCount()
Method getAgencyItemCount

Returns:
the size of this collection

getContent

public String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'Content'.

isValid

public boolean isValid()
Method isValid

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

iterateAgencyItem

public Iterator iterateAgencyItem()
Method iterateAgencyItem

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

removeAgencyItem

public boolean removeAgencyItem(AgencyItem vAgencyItem)
Method removeAgencyItem

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

removeAgencyItemAt

public AgencyItem removeAgencyItemAt(int index)
Method removeAgencyItemAt

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

removeAllAgencyItem

public void removeAllAgencyItem()

setAgencyItem

public void setAgencyItem(int index,
                          AgencyItem vAgencyItem)
                   throws IndexOutOfBoundsException
Parameters:
index -
vAgencyItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setAgencyItem

public void setAgencyItem(AgencyItem[] vAgencyItemArray)
Parameters:
vAgencyItemArray -

setContent

public void setContent(String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

unmarshal

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

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