org.ucl.xpath
Class DOMBuilder

java.lang.Object
  extended byorg.ucl.xpath.DOMBuilder
All Implemented Interfaces:
DOMLoader

public class DOMBuilder
extends java.lang.Object
implements DOMLoader

The DOM builder creates the string representation of an XML document.


Constructor Summary
DOMBuilder()
          Constructor for DOM builder.
 
Method Summary
 org.w3c.dom.Document load(java.io.InputStream in)
          Loads The XML document.
 void set_validating(boolean x)
          Set validating boolean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMBuilder

public DOMBuilder()
Constructor for DOM builder.

Method Detail

load

public org.w3c.dom.Document load(java.io.InputStream in)
                          throws DOMLoaderException
Loads The XML document.

Specified by:
load in interface DOMLoader
Parameters:
in - is the input stream.
Returns:
The loaded document.
Throws:
DOMLoaderException - DOM loader exception.

set_validating

public void set_validating(boolean x)
Set validating boolean.

Specified by:
set_validating in interface DOMLoader
Parameters:
x - is the value to set the validating boolean to.