net.sf.dewdrop.sqlml.support
Class XmlDomBuilder

java.lang.Object
  extended bynet.sf.dewdrop.sqlml.support.XmlDomBuilder
All Implemented Interfaces:
DomBuilder

public class XmlDomBuilder
extends Object
implements DomBuilder

Constructs an SQLML DOM tree from an SQLML XML file.

Since:
8 January 2004
Author:
Les Hazlewood

Constructor Summary
XmlDomBuilder()
           
 
Method Summary
 Sqlml buildDom(File sqlmlFile)
           
 SAXParser getParser()
           
 void setParser(SAXParser parser)
          Allows an external component to specify the sax parser to use for parsing operations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDomBuilder

public XmlDomBuilder()
Method Detail

getParser

public SAXParser getParser()

setParser

public void setParser(SAXParser parser)
Allows an external component to specify the sax parser to use for parsing operations. This is useful in that an existing parser can be used, thereby increasing performance.

Parameters:
parser -

buildDom

public Sqlml buildDom(File sqlmlFile)
               throws DewDropException
Specified by:
buildDom in interface DomBuilder
Throws:
DewDropException