Textractor API textractor-720 (20091120123250)

textractor.xml.pubmedabstracts.xml
Class AbstractText

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

public class AbstractText
extends Object
implements Serializable

Class AbstractText.

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

Constructor Summary
AbstractText()
           
 
Method Summary
 void addAbstractTextItem(AbstractTextItem vAbstractTextItem)
           
 void addAbstractTextItem(int index, AbstractTextItem vAbstractTextItem)
           
 Enumeration enumerateAbstractTextItem()
          Method enumerateAbstractTextItem
 AbstractTextItem[] getAbstractTextItem()
          Method getAbstractTextItem
 AbstractTextItem getAbstractTextItem(int index)
          Method getAbstractTextItem
 int getAbstractTextItemCount()
          Method getAbstractTextItemCount
 String getContent()
          Returns the value of field 'content'.
 boolean isValid()
          Method isValid
 Iterator iterateAbstractTextItem()
          Method iterateAbstractTextItem
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 boolean removeAbstractTextItem(AbstractTextItem vAbstractTextItem)
          Method removeAbstractTextItem
 AbstractTextItem removeAbstractTextItemAt(int index)
          Method removeAbstractTextItemAt
 void removeAllAbstractTextItem()
           
 void setAbstractTextItem(AbstractTextItem[] vAbstractTextItemArray)
           
 void setAbstractTextItem(int index, AbstractTextItem vAbstractTextItem)
           
 void setContent(String content)
          Sets the value of field 'content'.
static AbstractText 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

AbstractText

public AbstractText()
Method Detail

addAbstractTextItem

public void addAbstractTextItem(AbstractTextItem vAbstractTextItem)
                         throws IndexOutOfBoundsException
Parameters:
vAbstractTextItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addAbstractTextItem

public void addAbstractTextItem(int index,
                                AbstractTextItem vAbstractTextItem)
                         throws IndexOutOfBoundsException
Parameters:
index -
vAbstractTextItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateAbstractTextItem

public Enumeration enumerateAbstractTextItem()
Method enumerateAbstractTextItem

Returns:
an Enumeration over all possible elements of this collection

getAbstractTextItem

public AbstractTextItem getAbstractTextItem(int index)
                                     throws IndexOutOfBoundsException
Method getAbstractTextItem

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

getAbstractTextItem

public AbstractTextItem[] getAbstractTextItem()
Method getAbstractTextItem

Returns:
this collection as an Array

getAbstractTextItemCount

public int getAbstractTextItemCount()
Method getAbstractTextItemCount

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

iterateAbstractTextItem

public Iterator iterateAbstractTextItem()
Method iterateAbstractTextItem

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

removeAbstractTextItem

public boolean removeAbstractTextItem(AbstractTextItem vAbstractTextItem)
Method removeAbstractTextItem

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

removeAbstractTextItemAt

public AbstractTextItem removeAbstractTextItemAt(int index)
Method removeAbstractTextItemAt

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

removeAllAbstractTextItem

public void removeAllAbstractTextItem()

setAbstractTextItem

public void setAbstractTextItem(int index,
                                AbstractTextItem vAbstractTextItem)
                         throws IndexOutOfBoundsException
Parameters:
index -
vAbstractTextItem -
Throws:
IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setAbstractTextItem

public void setAbstractTextItem(AbstractTextItem[] vAbstractTextItemArray)
Parameters:
vAbstractTextItemArray -

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

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