org.apache.xerces.jaxp
Class DocumentBuilderFactoryImpl
java.lang.Object
javax.xml.parsers.DocumentBuilderFactory
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
public class DocumentBuilderFactoryImpl
- extends DocumentBuilderFactory
- Version:
- $Id: DocumentBuilderFactoryImpl.java 447237 2006-09-18 05:03:10Z mrglavas $
- Author:
- Rajiv Mordani, Edwin Goei
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory |
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newInstance, 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 |
DocumentBuilderFactoryImpl
public DocumentBuilderFactoryImpl()
newDocumentBuilder
public DocumentBuilder newDocumentBuilder()
throws ParserConfigurationException
- Creates a new instance of a
DocumentBuilder
using the currently configured parameters.
- Specified by:
newDocumentBuilder
in class DocumentBuilderFactory
- Throws:
ParserConfigurationException
setAttribute
public void setAttribute(String name,
Object value)
throws IllegalArgumentException
- Allows the user to set specific attributes on the underlying
implementation.
- Specified by:
setAttribute
in class DocumentBuilderFactory
- Parameters:
name
- name of attributevalue
- null means to remove attribute
- Throws:
IllegalArgumentException
getAttribute
public Object getAttribute(String name)
throws IllegalArgumentException
- Allows the user to retrieve specific attributes on the underlying
implementation.
- Specified by:
getAttribute
in class DocumentBuilderFactory
- Throws:
IllegalArgumentException
getSchema
public Schema getSchema()
- Overrides:
getSchema
in class DocumentBuilderFactory
setSchema
public void setSchema(Schema grammar)
- Overrides:
setSchema
in class DocumentBuilderFactory
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAware
in class DocumentBuilderFactory
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAware
in class DocumentBuilderFactory
getFeature
public boolean getFeature(String name)
throws ParserConfigurationException
- Specified by:
getFeature
in class DocumentBuilderFactory
- Throws:
ParserConfigurationException
setFeature
public void setFeature(String name,
boolean value)
throws ParserConfigurationException
- Specified by:
setFeature
in class DocumentBuilderFactory
- Throws:
ParserConfigurationException
Copyright © 2011. All Rights Reserved.