org.apache.xerces.jaxp

Class DocumentBuilderFactoryImpl


public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory

Version:
$Id: DocumentBuilderFactoryImpl.java,v 1.13 2002/08/09 15:18:19 neilg Exp $

Authors:
Rajiv Mordani
Edwin Goei

Method Summary

Object
getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying implementation.
javax.xml.parsers.DocumentBuilder
newDocumentBuilder()
Creates a new instance of a javax.xml.parsers.DocumentBuilder using the currently configured parameters.
void
setAttribute(String name, Object value)
Allows the user to set specific attributes on the underlying implementation.

Methods inherited from class javax.xml.parsers.DocumentBuilderFactory

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

Method Details

getAttribute

public Object getAttribute(String name)
            throws IllegalArgumentException
Allows the user to retrieve specific attributes on the underlying implementation.
Overrides:
getAttribute in interface javax.xml.parsers.DocumentBuilderFactory


newDocumentBuilder

public javax.xml.parsers.DocumentBuilder newDocumentBuilder()
            throws javax.xml.parsers.ParserConfigurationException
Creates a new instance of a javax.xml.parsers.DocumentBuilder using the currently configured parameters.
Overrides:
newDocumentBuilder in interface javax.xml.parsers.DocumentBuilderFactory


setAttribute

public void setAttribute(String name,
                         Object value)
            throws IllegalArgumentException
Allows the user to set specific attributes on the underlying implementation.
Overrides:
setAttribute in interface javax.xml.parsers.DocumentBuilderFactory

Parameters:
name - name of attribute
value - null means to remove attribute


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.