org.jscience.ml.tigerxml.core
Class SentenceBuilder

java.lang.Object
  extended by org.jscience.ml.tigerxml.core.SentenceBuilder

public class SentenceBuilder
extends java.lang.Object


Constructor Summary
SentenceBuilder()
           
 
Method Summary
static void buildSentence(Sentence sentence, Corpus corpus, org.w3c.dom.Element sElement)
          Builds up a given (ideally empty) Sentence by getting all information from the given DOM Element sElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentenceBuilder

public SentenceBuilder()
Method Detail

buildSentence

public static final void buildSentence(Sentence sentence,
                                       Corpus corpus,
                                       org.w3c.dom.Element sElement)
Builds up a given (ideally empty) Sentence by getting all information from the given DOM Element sElement.

Parameters:
sentence - The Sentence instance to be built (can be empty).
corpus - The Corpus to hold the new sentence.
sElement - The DOM Element containing a sentence element of a TIGER XML Document.