org.apache.xerces.jaxp

Class DocumentBuilderFactoryImpl


public class DocumentBuilderFactoryImpl
extends javax.xml.parsers.DocumentBuilderFactory

Version:
$Id: DocumentBuilderFactoryImpl.java 439173 2006-09-01 04:31:20Z mrglavas $
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)
javax.xml.validation.Schema
getSchema()
boolean
isXIncludeAware()
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.
void
setFeature(String name, boolean value)
void
setSchema(javax.xml.validation.Schema grammar)
void
setXIncludeAware(boolean state)

Methods inherited from class javax.xml.parsers.DocumentBuilderFactory

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

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

getFeature

public boolean getFeature(String name)
            throws javax.xml.parsers.ParserConfigurationException
Overrides:
getFeature in interface javax.xml.parsers.DocumentBuilderFactory

getSchema

public javax.xml.validation.Schema getSchema()
Overrides:
getSchema in interface javax.xml.parsers.DocumentBuilderFactory

isXIncludeAware

public boolean isXIncludeAware()
Overrides:
isXIncludeAware 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

setFeature

public void setFeature(String name,
                       boolean value)
            throws javax.xml.parsers.ParserConfigurationException
Overrides:
setFeature in interface javax.xml.parsers.DocumentBuilderFactory

setSchema

public void setSchema(javax.xml.validation.Schema grammar)
Overrides:
setSchema in interface javax.xml.parsers.DocumentBuilderFactory

setXIncludeAware

public void setXIncludeAware(boolean state)
Overrides:
setXIncludeAware in interface javax.xml.parsers.DocumentBuilderFactory

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.