Textractor API textractor-720 (20091120123250)

textractor.xml.pubmed.xml
Class Affiliation

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

public class Affiliation
extends Object
implements Serializable

Class Affiliation.

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

Constructor Summary
Affiliation()
           
 
Method Summary
 void addAffiliationItem(AffiliationItem vAffiliationItem)
           
 void addAffiliationItem(int index, AffiliationItem vAffiliationItem)
           
 Enumeration enumerateAffiliationItem()
          Method enumerateAffiliationItem
 AffiliationItem[] getAffiliationItem()
          Method getAffiliationItem
 AffiliationItem getAffiliationItem(int index)
          Method getAffiliationItem
 int getAffiliationItemCount()
          Method getAffiliationItemCount
 String getContent()
          Returns the value of field 'content'.
 boolean isValid()
          Method isValid
 Iterator iterateAffiliationItem()
          Method iterateAffiliationItem
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 boolean removeAffiliationItem(AffiliationItem vAffiliationItem)
          Method removeAffiliationItem
 AffiliationItem removeAffiliationItemAt(int index)
          Method removeAffiliationItemAt
 void removeAllAffiliationItem()
           
 void setAffiliationItem(AffiliationItem[] vAffiliationItemArray)
           
 void setAffiliationItem(int index, AffiliationItem vAffiliationItem)
           
 void setContent(String content)
          Sets the value of field 'content'.
static Affiliation 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

Affiliation

public Affiliation()
Method Detail

addAffiliationItem

public void addAffiliationItem(AffiliationItem vAffiliationItem)
                        throws IndexOutOfBoundsException
Parameters:
vAffiliationItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addAffiliationItem

public void addAffiliationItem(int index,
                               AffiliationItem vAffiliationItem)
                        throws IndexOutOfBoundsException
Parameters:
index -
vAffiliationItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateAffiliationItem

public Enumeration enumerateAffiliationItem()
Method enumerateAffiliationItem

Returns:
an Enumeration over all possible elements of this collection

getAffiliationItem

public AffiliationItem getAffiliationItem(int index)
                                   throws IndexOutOfBoundsException
Method getAffiliationItem

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

getAffiliationItem

public AffiliationItem[] getAffiliationItem()
Method getAffiliationItem

Returns:
this collection as an Array

getAffiliationItemCount

public int getAffiliationItemCount()
Method getAffiliationItemCount

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

iterateAffiliationItem

public Iterator iterateAffiliationItem()
Method iterateAffiliationItem

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

removeAffiliationItem

public boolean removeAffiliationItem(AffiliationItem vAffiliationItem)
Method removeAffiliationItem

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

removeAffiliationItemAt

public AffiliationItem removeAffiliationItemAt(int index)
Method removeAffiliationItemAt

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

removeAllAffiliationItem

public void removeAllAffiliationItem()

setAffiliationItem

public void setAffiliationItem(int index,
                               AffiliationItem vAffiliationItem)
                        throws IndexOutOfBoundsException
Parameters:
index -
vAffiliationItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setAffiliationItem

public void setAffiliationItem(AffiliationItem[] vAffiliationItemArray)
Parameters:
vAffiliationItemArray -

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 Affiliation unmarshal(Reader reader)
                             throws MarshalException,
                                    ValidationException
Method unmarshal

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