Textractor API textractor-720 (20091120123250)

textractor.xml.pubmedabstracts.xml
Class ArticleChoice

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

public class ArticleChoice
extends Object
implements Serializable

Class ArticleChoice.

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

Constructor Summary
ArticleChoice()
           
 
Method Summary
 Book getBook()
          Returns the value of field 'book'.
 Journal getJournal()
          Returns the value of field 'journal'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setBook(Book book)
          Sets the value of field 'book'.
 void setJournal(Journal journal)
          Sets the value of field 'journal'.
static ArticleChoice 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

ArticleChoice

public ArticleChoice()
Method Detail

getBook

public Book getBook()
Returns the value of field 'book'.

Returns:
the value of field 'Book'.

getJournal

public Journal getJournal()
Returns the value of field 'journal'.

Returns:
the value of field 'Journal'.

isValid

public boolean isValid()
Method isValid

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

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

setBook

public void setBook(Book book)
Sets the value of field 'book'.

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

setJournal

public void setJournal(Journal journal)
Sets the value of field 'journal'.

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

unmarshal

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

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