Textractor API textractor-720 (20091120123250)

textractor.acronyms.xml
Class Acronym

java.lang.Object
  extended by textractor.acronyms.xml.Acronym
All Implemented Interfaces:
Serializable

public class Acronym
extends Object
implements Serializable

Class Acronym.

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

Constructor Summary
Acronym()
           
 
Method Summary
 Expansions getExpansions()
          Returns the value of field 'expansions'.
 ShortForm getShortForm()
          Returns the value of field 'shortForm'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setExpansions(Expansions expansions)
          Sets the value of field 'expansions'.
 void setShortForm(ShortForm shortForm)
          Sets the value of field 'shortForm'.
static Acronym 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

Acronym

public Acronym()
Method Detail

getExpansions

public Expansions getExpansions()
Returns the value of field 'expansions'.

Returns:
the value of field 'Expansions'.

getShortForm

public ShortForm getShortForm()
Returns the value of field 'shortForm'.

Returns:
the value of field 'ShortForm'.

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

setExpansions

public void setExpansions(Expansions expansions)
Sets the value of field 'expansions'.

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

setShortForm

public void setShortForm(ShortForm shortForm)
Sets the value of field 'shortForm'.

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

unmarshal

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

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