com.generationjava.io.xml
Class XMLParser

java.lang.Object
  extended bycom.generationjava.io.xml.XMLParser

public class XMLParser
extends Object

A tiny parser of xml text. It is intended to deal with simple config files.


Constructor Summary
XMLParser()
           
 
Method Summary
 XMLNode parseXML(Reader reader)
          Parse an XML text read in from a Reader.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParser

public XMLParser()
Method Detail

parseXML

public XMLNode parseXML(Reader reader)
                 throws IOException
Parse an XML text read in from a Reader. Returns the root node of the xml text.

Throws:
IOException


Copyright © 2002-2005 OSJava. All Rights Reserved.