org.eclipse.ercp.jaxp.implForCore
Class DocumentBuilderFactoryImpl

java.lang.Object
  extended by javax.xml.parsers.DocumentBuilderFactory
      extended by org.eclipse.ercp.jaxp.implForCore.DocumentBuilderFactoryImpl

public class DocumentBuilderFactoryImpl
extends DocumentBuilderFactory

Implementation of the DocumentBuilderFactory


Constructor Summary
DocumentBuilderFactoryImpl()
          Constructor for DocumentBuilderFactoryImpl.
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Allows the user to retrieve specific attributes on the underlying implementation.
 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.
 
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()
Constructor for DocumentBuilderFactoryImpl.

Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
                              throws java.lang.IllegalArgumentException
Description copied from class: DocumentBuilderFactory
Allows the user to retrieve specific attributes on the underlying implementation.

Specified by:
getAttribute in class 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.
See Also:
DocumentBuilderFactory.getAttribute(String)

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
                  throws java.lang.IllegalArgumentException
Description copied from class: DocumentBuilderFactory
Allows the user to set specific attributes on the underlying implementation.

Specified by:
setAttribute in class 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.
See Also:
DocumentBuilderFactory.setAttribute(String, Object)

newDocumentBuilder

public DocumentBuilder newDocumentBuilder()
                                   throws ParserConfigurationException
Description copied from class: DocumentBuilderFactory
Creates a new instance of a DocumentBuilder using the currently configured parameters.

Specified by:
newDocumentBuilder in class DocumentBuilderFactory
Returns:
A new instance of a DocumentBuilder.
Throws:
ParserConfigurationException - if a DocumentBuilder cannot be created which satisfies the configuration requested.
See Also:
DocumentBuilderFactory.newDocumentBuilder()