org.jscience.ml.tigerxml.core
Class TigerXmlDocument

java.lang.Object
  extended by org.jscience.ml.tigerxml.core.TigerXmlDocument
All Implemented Interfaces:
java.io.Serializable

public class TigerXmlDocument
extends java.lang.Object
implements java.io.Serializable

Represents the TIGER-XML source document of a corpus.

See Also:
Serialized Form

Constructor Summary
TigerXmlDocument(java.lang.String corpusFileName)
          Creates a new TigerXmlDocument object.
TigerXmlDocument(java.lang.String corpusFileName, int verbosity)
          Creates a new TigerXmlDocument object.
 
Method Summary
 org.w3c.dom.Element getDocumentRoot()
          DOCUMENT ME!
 java.lang.String getFileName()
          DOCUMENT ME!
 int getVerbosity()
          Gets the currently set level of verbosity of this instance.
 void reset()
          DOCUMENT ME!
 void setVerbosity(int verbosity)
          Sets the currently set level of verbosity of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TigerXmlDocument

public TigerXmlDocument(java.lang.String corpusFileName)
Creates a new TigerXmlDocument object.

Parameters:
corpusFileName - DOCUMENT ME!

TigerXmlDocument

public TigerXmlDocument(java.lang.String corpusFileName,
                        int verbosity)
Creates a new TigerXmlDocument object.

Parameters:
corpusFileName - DOCUMENT ME!
verbosity - DOCUMENT ME!
Method Detail

getDocumentRoot

public org.w3c.dom.Element getDocumentRoot()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getFileName

public java.lang.String getFileName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

reset

public void reset()
DOCUMENT ME!


getVerbosity

public int getVerbosity()
Gets the currently set level of verbosity of this instance. The higher the value the more information is written to stderr.

Returns:
The level of verbosity.

setVerbosity

public void setVerbosity(int verbosity)
Sets the currently set level of verbosity of this instance. The higher the value the more information is written to stderr.

Parameters:
verbosity - The level of verbosity.