Textractor API textractor-720 (20091120123250)

textractor.xml.pubmedabstracts.xml
Class Article

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

public class Article
extends Object
implements Serializable

Class Article.

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

Constructor Summary
Article()
           
 
Method Summary
 void addArticleDate(ArticleDate vArticleDate)
           
 void addArticleDate(int index, ArticleDate vArticleDate)
           
 void addLanguage(int index, Language vLanguage)
           
 void addLanguage(Language vLanguage)
           
 Enumeration enumerateArticleDate()
          Method enumerateArticleDate
 Enumeration enumerateLanguage()
          Method enumerateLanguage
 Abstract getAbstract()
          Returns the value of field 'abstract'.
 Affiliation getAffiliation()
          Returns the value of field 'affiliation'.
 ArticleChoice getArticleChoice()
          Returns the value of field 'articleChoice'.
 ArticleDate[] getArticleDate()
          Method getArticleDate
 ArticleDate getArticleDate(int index)
          Method getArticleDate
 int getArticleDateCount()
          Method getArticleDateCount
 ArticleTitle getArticleTitle()
          Returns the value of field 'articleTitle'.
 AuthorList getAuthorList()
          Returns the value of field 'authorList'.
 DataBankList getDataBankList()
          Returns the value of field 'dataBankList'.
 GrantList getGrantList()
          Returns the value of field 'grantList'.
 Language[] getLanguage()
          Method getLanguage
 Language getLanguage(int index)
          Method getLanguage
 int getLanguageCount()
          Method getLanguageCount
 Pagination getPagination()
          Returns the value of field 'pagination'.
 PublicationTypeList getPublicationTypeList()
          Returns the value of field 'publicationTypeList'.
 ArticlePubModelType getPubModel()
          Returns the value of field 'pubModel'.
 VernacularTitle getVernacularTitle()
          Returns the value of field 'vernacularTitle'.
 boolean isValid()
          Method isValid
 Iterator iterateArticleDate()
          Method iterateArticleDate
 Iterator iterateLanguage()
          Method iterateLanguage
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllArticleDate()
           
 void removeAllLanguage()
           
 boolean removeArticleDate(ArticleDate vArticleDate)
          Method removeArticleDate
 ArticleDate removeArticleDateAt(int index)
          Method removeArticleDateAt
 boolean removeLanguage(Language vLanguage)
          Method removeLanguage
 Language removeLanguageAt(int index)
          Method removeLanguageAt
 void setAbstract(Abstract _abstract)
          Sets the value of field 'abstract'.
 void setAffiliation(Affiliation affiliation)
          Sets the value of field 'affiliation'.
 void setArticleChoice(ArticleChoice articleChoice)
          Sets the value of field 'articleChoice'.
 void setArticleDate(ArticleDate[] vArticleDateArray)
           
 void setArticleDate(int index, ArticleDate vArticleDate)
           
 void setArticleTitle(ArticleTitle articleTitle)
          Sets the value of field 'articleTitle'.
 void setAuthorList(AuthorList authorList)
          Sets the value of field 'authorList'.
 void setDataBankList(DataBankList dataBankList)
          Sets the value of field 'dataBankList'.
 void setGrantList(GrantList grantList)
          Sets the value of field 'grantList'.
 void setLanguage(int index, Language vLanguage)
           
 void setLanguage(Language[] vLanguageArray)
           
 void setPagination(Pagination pagination)
          Sets the value of field 'pagination'.
 void setPublicationTypeList(PublicationTypeList publicationTypeList)
          Sets the value of field 'publicationTypeList'.
 void setPubModel(ArticlePubModelType pubModel)
          Sets the value of field 'pubModel'.
 void setVernacularTitle(VernacularTitle vernacularTitle)
          Sets the value of field 'vernacularTitle'.
static Article 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

Article

public Article()
Method Detail

addArticleDate

public void addArticleDate(ArticleDate vArticleDate)
                    throws IndexOutOfBoundsException
Parameters:
vArticleDate -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addArticleDate

public void addArticleDate(int index,
                           ArticleDate vArticleDate)
                    throws IndexOutOfBoundsException
Parameters:
index -
vArticleDate -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addLanguage

public void addLanguage(Language vLanguage)
                 throws IndexOutOfBoundsException
Parameters:
vLanguage -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addLanguage

public void addLanguage(int index,
                        Language vLanguage)
                 throws IndexOutOfBoundsException
Parameters:
index -
vLanguage -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateArticleDate

public Enumeration enumerateArticleDate()
Method enumerateArticleDate

Returns:
an Enumeration over all possible elements of this collection

enumerateLanguage

public Enumeration enumerateLanguage()
Method enumerateLanguage

Returns:
an Enumeration over all possible elements of this collection

getAbstract

public Abstract getAbstract()
Returns the value of field 'abstract'.

Returns:
the value of field 'Abstract'.

getAffiliation

public Affiliation getAffiliation()
Returns the value of field 'affiliation'.

Returns:
the value of field 'Affiliation'.

getArticleChoice

public ArticleChoice getArticleChoice()
Returns the value of field 'articleChoice'.

Returns:
the value of field 'ArticleChoice'.

getArticleDate

public ArticleDate getArticleDate(int index)
                           throws IndexOutOfBoundsException
Method getArticleDate

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

getArticleDate

public ArticleDate[] getArticleDate()
Method getArticleDate

Returns:
this collection as an Array

getArticleDateCount

public int getArticleDateCount()
Method getArticleDateCount

Returns:
the size of this collection

getArticleTitle

public ArticleTitle getArticleTitle()
Returns the value of field 'articleTitle'.

Returns:
the value of field 'ArticleTitle'.

getAuthorList

public AuthorList getAuthorList()
Returns the value of field 'authorList'.

Returns:
the value of field 'AuthorList'.

getDataBankList

public DataBankList getDataBankList()
Returns the value of field 'dataBankList'.

Returns:
the value of field 'DataBankList'.

getGrantList

public GrantList getGrantList()
Returns the value of field 'grantList'.

Returns:
the value of field 'GrantList'.

getLanguage

public Language getLanguage(int index)
                     throws IndexOutOfBoundsException
Method getLanguage

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

getLanguage

public Language[] getLanguage()
Method getLanguage

Returns:
this collection as an Array

getLanguageCount

public int getLanguageCount()
Method getLanguageCount

Returns:
the size of this collection

getPagination

public Pagination getPagination()
Returns the value of field 'pagination'.

Returns:
the value of field 'Pagination'.

getPubModel

public ArticlePubModelType getPubModel()
Returns the value of field 'pubModel'.

Returns:
the value of field 'PubModel'.

getPublicationTypeList

public PublicationTypeList getPublicationTypeList()
Returns the value of field 'publicationTypeList'.

Returns:
the value of field 'PublicationTypeList'.

getVernacularTitle

public VernacularTitle getVernacularTitle()
Returns the value of field 'vernacularTitle'.

Returns:
the value of field 'VernacularTitle'.

isValid

public boolean isValid()
Method isValid

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

iterateArticleDate

public Iterator iterateArticleDate()
Method iterateArticleDate

Returns:
an Iterator over all possible elements in this collection

iterateLanguage

public Iterator iterateLanguage()
Method iterateLanguage

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

removeAllArticleDate

public void removeAllArticleDate()

removeAllLanguage

public void removeAllLanguage()

removeArticleDate

public boolean removeArticleDate(ArticleDate vArticleDate)
Method removeArticleDate

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

removeArticleDateAt

public ArticleDate removeArticleDateAt(int index)
Method removeArticleDateAt

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

removeLanguage

public boolean removeLanguage(Language vLanguage)
Method removeLanguage

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

removeLanguageAt

public Language removeLanguageAt(int index)
Method removeLanguageAt

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

setAbstract

public void setAbstract(Abstract _abstract)
Sets the value of field 'abstract'.

Parameters:
_abstract -
abstract - the value of field 'abstract'.

setAffiliation

public void setAffiliation(Affiliation affiliation)
Sets the value of field 'affiliation'.

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

setArticleChoice

public void setArticleChoice(ArticleChoice articleChoice)
Sets the value of field 'articleChoice'.

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

setArticleDate

public void setArticleDate(int index,
                           ArticleDate vArticleDate)
                    throws IndexOutOfBoundsException
Parameters:
index -
vArticleDate -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setArticleDate

public void setArticleDate(ArticleDate[] vArticleDateArray)
Parameters:
vArticleDateArray -

setArticleTitle

public void setArticleTitle(ArticleTitle articleTitle)
Sets the value of field 'articleTitle'.

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

setAuthorList

public void setAuthorList(AuthorList authorList)
Sets the value of field 'authorList'.

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

setDataBankList

public void setDataBankList(DataBankList dataBankList)
Sets the value of field 'dataBankList'.

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

setGrantList

public void setGrantList(GrantList grantList)
Sets the value of field 'grantList'.

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

setLanguage

public void setLanguage(int index,
                        Language vLanguage)
                 throws IndexOutOfBoundsException
Parameters:
index -
vLanguage -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setLanguage

public void setLanguage(Language[] vLanguageArray)
Parameters:
vLanguageArray -

setPagination

public void setPagination(Pagination pagination)
Sets the value of field 'pagination'.

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

setPubModel

public void setPubModel(ArticlePubModelType pubModel)
Sets the value of field 'pubModel'.

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

setPublicationTypeList

public void setPublicationTypeList(PublicationTypeList publicationTypeList)
Sets the value of field 'publicationTypeList'.

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

setVernacularTitle

public void setVernacularTitle(VernacularTitle vernacularTitle)
Sets the value of field 'vernacularTitle'.

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

unmarshal

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

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