Textractor API textractor-720 (20091120123250)

textractor.acronyms.xml
Class Expansion

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

public class Expansion
extends Object
implements Serializable

Class Expansion.

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

Constructor Summary
Expansion()
           
 
Method Summary
 void deleteFrequency()
           
 String getContent()
          Returns the value of field 'content'.
 int getFrequency()
          Returns the value of field 'frequency'.
 boolean hasFrequency()
          Method hasFrequency
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
           
 void marshal(Writer out)
           
 void setContent(String content)
          Sets the value of field 'content'.
 void setFrequency(int frequency)
          Sets the value of field 'frequency'.
static Expansion 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

Expansion

public Expansion()
Method Detail

deleteFrequency

public void deleteFrequency()

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'.

getFrequency

public int getFrequency()
Returns the value of field 'frequency'.

Returns:
the value of field 'Frequency'.

hasFrequency

public boolean hasFrequency()
Method hasFrequency

Returns:
true if at least one Frequency has been added

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

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'.

setFrequency

public void setFrequency(int frequency)
Sets the value of field 'frequency'.

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

unmarshal

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

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