net.xoetrope.xml.jaxp
Class JaxpDocumentFactory

java.lang.Object
  extended by net.xoetrope.xml.jaxp.JaxpDocumentFactory

public class JaxpDocumentFactory
extends java.lang.Object

Title: Xui

Description: Used to instantiate an XML document. The root node is constructed automatically from the passed rootname

Copyright: Copyright (c) Xoetrope Ltd., 1998-2003

Company: Xoetrope Ltd.


Constructor Summary
JaxpDocumentFactory()
          null ctor
 
Method Summary
static JaxpXmlElement createDocument(java.lang.String rootName)
          Create a basic document object and create a node with the passed name.
static javax.xml.parsers.DocumentBuilder createDocumentBuilder()
          Create a DocumentBuilder with defaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxpDocumentFactory

public JaxpDocumentFactory()
null ctor

Method Detail

createDocument

public static JaxpXmlElement createDocument(java.lang.String rootName)
Create a basic document object and create a node with the passed name.

Parameters:
rootName - The name of the root node
Returns:
the new Document

createDocumentBuilder

public static javax.xml.parsers.DocumentBuilder createDocumentBuilder()
Create a DocumentBuilder with defaults

Returns:
the DocumentBuilder