com.sunwesttek.xml
Class SimpleDOMParser

java.lang.Object
  |
  +--com.sunwesttek.xml.SimpleDOMParser
All Implemented Interfaces:
DOMParser

public class SimpleDOMParser
extends java.lang.Object
implements DOMParser

SimpleDOMParser is a highly-simplified XML DOM parser implementation.


Constructor Summary
SimpleDOMParser()
          Construct a SimpleDOMParser.
 
Method Summary
 boolean isValidating()
          Indicates the parser is validating the XML document.
 DOMElement parse(java.io.Reader reader)
          Parse an XML document into a DOMElement tree.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDOMParser

public SimpleDOMParser()
Construct a SimpleDOMParser.

Method Detail

isValidating

public boolean isValidating()
Indicates the parser is validating the XML document. SimpleDOMParser does not support XML validating. This methold always returns false.

Specified by:
isValidating in interface DOMParser
Returns:
Validating

parse

public DOMElement parse(java.io.Reader reader)
                 throws java.io.IOException
Parse an XML document into a DOMElement tree.

Specified by:
parse in interface DOMParser
Parameters:
reader - Reader
Returns:
DOMElement tree
Throws:
java.io.IOException


Copyright (c) 2002 Sunwest Technologies. http://www.SunwestTek.com/