org.apache.xerces.jaxp

Class DocumentBuilderFactoryImpl


public class DocumentBuilderFactoryImpl
extends DocumentBuilderFactory

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

Method Summary

Object
getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying implementation.
boolean
getFeature(String name)
Schema
getSchema()
boolean
isXIncludeAware()
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.
void
setFeature(String name, boolean value)
void
setSchema(Schema grammar)
void
setXIncludeAware(boolean state)

Method Details

getAttribute

public Object getAttribute(String name)
            throws IllegalArgumentException
Allows the user to retrieve specific attributes on the underlying implementation.

getFeature

public boolean getFeature(String name)
            throws ParserConfigurationException

getSchema

public Schema getSchema()

isXIncludeAware

public boolean isXIncludeAware()

newDocumentBuilder

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

setAttribute

public void setAttribute(String name,
                         Object value)
            throws IllegalArgumentException
Allows the user to set specific attributes on the underlying implementation.
Parameters:
name - name of attribute
value - null means to remove attribute

setFeature

public void setFeature(String name,
                       boolean value)
            throws ParserConfigurationException

setSchema

public void setSchema(Schema grammar)

setXIncludeAware

public void setXIncludeAware(boolean state)

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