gnu.xml.libxmlj.dom

Class GnomeDocumentBuilderFactory


public class GnomeDocumentBuilderFactory
extends DocumentBuilderFactory

Factory for JAXP document builders using the libxml2 implementation.

Constructor Summary

GnomeDocumentBuilderFactory()

Method Summary

Object
getAttribute(String name)
Retrieves the named attribute value from the underlying implementation.
DocumentBuilder
newDocumentBuilder()
Creates a new document builder instance using the currently specified factory configuration.
void
setAttribute(String name, Object value)
Set the named attribute on the underlying implementation.

Methods inherited from class javax.xml.parsers.DocumentBuilderFactory

getAttribute, getSchema, isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, isXIncludeAware, newDocumentBuilder, newInstance, setAttribute, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setSchema, setValidating, setXIncludeAware

Constructor Details

GnomeDocumentBuilderFactory

public GnomeDocumentBuilderFactory()

Method Details

getAttribute

public Object getAttribute(String name)
Retrieves the named attribute value from the underlying implementation.
Overrides:
getAttribute in interface DocumentBuilderFactory

Parameters:
name - the name of the attribute


newDocumentBuilder

public DocumentBuilder newDocumentBuilder()
            throws ParserConfigurationException
Creates a new document builder instance using the currently specified factory configuration.
Overrides:
newDocumentBuilder in interface DocumentBuilderFactory

Throws:
ParserConfigurationException - if the specified configuration is not supported


setAttribute

public void setAttribute(String name,
                         Object value)
Set the named attribute on the underlying implementation.
Overrides:
setAttribute in interface DocumentBuilderFactory

Parameters:
name - the name of the attribute
value - the new value