org.apache.xerces.jaxp
Class DocumentBuilderFactoryImpl

java.lang.Object
  extended byjavax.xml.parsers.DocumentBuilderFactory
      extended byorg.apache.xerces.jaxp.DocumentBuilderFactoryImpl

public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory

Version:
$Id: DocumentBuilderFactoryImpl.java,v 1.20 2005/06/21 15:13:07 mrglavas Exp $
Author:
Rajiv Mordani, Edwin Goei

Constructor Summary
DocumentBuilderFactoryImpl()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Allows the user to retrieve specific attributes on the underlying implementation.
 boolean getFeature(java.lang.String name)
           
 javax.xml.validation.Schema getSchema()
           
 boolean isXIncludeAware()
           
 javax.xml.parsers.DocumentBuilder newDocumentBuilder()
          Creates a new instance of a DocumentBuilder using the currently configured parameters.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Allows the user to set specific attributes on the underlying implementation.
 void setFeature(java.lang.String name, boolean value)
           
 void setSchema(javax.xml.validation.Schema grammar)
           
 void setXIncludeAware(boolean state)
           
 
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, 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()
Method Detail

newDocumentBuilder

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

Throws:
javax.xml.parsers.ParserConfigurationException

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.

Parameters:
name - name of attribute
value - null means to remove attribute
Throws:
java.lang.IllegalArgumentException

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.

Throws:
java.lang.IllegalArgumentException

getSchema

public javax.xml.validation.Schema getSchema()

setSchema

public void setSchema(javax.xml.validation.Schema grammar)

isXIncludeAware

public boolean isXIncludeAware()

setXIncludeAware

public void setXIncludeAware(boolean state)

getFeature

public boolean getFeature(java.lang.String name)
                   throws javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.parsers.ParserConfigurationException

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
                throws javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.parsers.ParserConfigurationException


Copyright ? 1999-2005 Apache XML Project. All Rights Reserved.