org.apache.xerces.jaxp
Class DocumentBuilderFactoryImpl

java.lang.Object
  |
  +--javax.xml.parsers.DocumentBuilderFactory
        |
        +--org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory

The DocumentBuilderFactory implementation for the Apache Xerces XML parser.

Version:
$Revision: 1.3 $ $Date: 2000/11/16 00:57:43 $
Author:
Pierpaolo Fumagalli (Apache Software Foundation, Exoffice Technologies)

Constructor Summary
DocumentBuilderFactoryImpl()
          Create a new DocumentBuilderFactoryImpl instance.
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Allows the user to retrieve specific attributes on the underlying implementation.
 javax.xml.parsers.DocumentBuilder newDocumentBuilder()
          Returns a new configured instance of type DocumentBuilder.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Allows the user to set specific attributes on the underlying implementation.
 
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
isCoalescing, isExpandEntityReferences, isIgnoreElementContentWhitespace, isIgnoringComments, isNamespaceAware, isValidating, newInstance, setCoalescing, setExpandEntityReferences, setIgnoreElementContentWhitespace, setIgnoringComments, setNamespaceAware, setValidating
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilderFactoryImpl

public DocumentBuilderFactoryImpl()
Create a new DocumentBuilderFactoryImpl instance.
Method Detail

newDocumentBuilder

public javax.xml.parsers.DocumentBuilder newDocumentBuilder()
                                                     throws javax.xml.parsers.ParserConfigurationException
Returns a new configured instance of type DocumentBuilder.
Overrides:
newDocumentBuilder in class javax.xml.parsers.DocumentBuilderFactory
Tags copied from class: javax.xml.parsers.DocumentBuilderFactory
Throws:
javax.xml.parsers.ParserConfigurationException - if a DocumentBuilder cannot be created which satisfies the configuration requested

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
                  throws java.lang.IllegalArgumentException
Allows the user to set specific attributes on the underlying implementation.
Overrides:
setAttribute in class javax.xml.parsers.DocumentBuilderFactory
Tags copied from class: javax.xml.parsers.DocumentBuilderFactory
Parameters:
name - The name of the attribute.
value - The value of the attribute.
Throws:
java.lang.IllegalArgumentException - thrown if the underlying implementation doesn't recognize the attribute.

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
                              throws java.lang.IllegalArgumentException
Allows the user to retrieve specific attributes on the underlying implementation.
Overrides:
getAttribute in class javax.xml.parsers.DocumentBuilderFactory
Tags copied from class: javax.xml.parsers.DocumentBuilderFactory
Parameters:
name - The name of the attribute.
Returns:
value The value of the attribute.
Throws:
java.lang.IllegalArgumentException - thrown if the underlying implementation doesn't recognize the attribute.


Copyright © 1999-2000 Apache XML Project. All Rights Reserved.