net.sourceforge.jeuclid.biparser
Class SAXBiParser

java.lang.Object
  extended by net.sourceforge.jeuclid.biparser.SAXBiParser

public final class SAXBiParser
extends Object

this class is creates a SAXParser as singleton.

Version:
$Revision: 0b66106c7ff7 $

Method Summary
static SAXBiParser getInstance()
          get the instance of the SAXParser.
 BiTree parse(String text)
          parse a text with SAXParser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SAXBiParser getInstance()
get the instance of the SAXParser.

Returns:
the singleton instance of the SAXParser

parse

public BiTree parse(String text)
             throws NonIncrementalElementException
parse a text with SAXParser.

Parameters:
text - inputtext to parse
Returns:
result BiTree of parsed inputtext
Throws:
NonIncrementalElementException - if the subtree contains an element which cannot be incrementally updated.


Copyright © 2002-2010 The JEuclid project. All Rights Reserved.