__redirected
Class __DocumentBuilderFactory

java.lang.Object
  extended by javax.xml.parsers.DocumentBuilderFactory
      extended by __redirected.__DocumentBuilderFactory

public final class __DocumentBuilderFactory
extends DocumentBuilderFactory

A redirecting DocumentBuilderFactory

Author:
David M. Lloyd, Jason T. Greene

Constructor Summary
__DocumentBuilderFactory()
          Construct a new instance.
 
Method Summary
static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
           
 Object getAttribute(String name)
           
 boolean getFeature(String name)
           
 Schema getSchema()
           
static void init()
          Init method.
 boolean isCoalescing()
           
 boolean isExpandEntityReferences()
           
 boolean isIgnoringComments()
           
 boolean isIgnoringElementContentWhitespace()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 boolean isXIncludeAware()
           
 DocumentBuilder newDocumentBuilder()
           
static void restorePlatformFactory()
           
 void setAttribute(String name, Object value)
           
 void setCoalescing(boolean coalescing)
           
 void setExpandEntityReferences(boolean expandEntityRef)
           
 void setFeature(String name, boolean value)
           
 void setIgnoringComments(boolean ignoreComments)
           
 void setIgnoringElementContentWhitespace(boolean whitespace)
           
 void setNamespaceAware(boolean awareness)
           
 void setSchema(Schema schema)
           
 void setValidating(boolean validating)
           
 void setXIncludeAware(boolean state)
           
 
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

__DocumentBuilderFactory

public __DocumentBuilderFactory()
Construct a new instance.

Method Detail

init

public static void init()
Init method.


changeDefaultFactory

public static void changeDefaultFactory(ModuleIdentifier id,
                                        ModuleLoader loader)

restorePlatformFactory

public static void restorePlatformFactory()

newDocumentBuilder

public DocumentBuilder newDocumentBuilder()
                                   throws ParserConfigurationException
Specified by:
newDocumentBuilder in class DocumentBuilderFactory
Throws:
ParserConfigurationException

setNamespaceAware

public void setNamespaceAware(boolean awareness)
Overrides:
setNamespaceAware in class DocumentBuilderFactory

setValidating

public void setValidating(boolean validating)
Overrides:
setValidating in class DocumentBuilderFactory

setIgnoringElementContentWhitespace

public void setIgnoringElementContentWhitespace(boolean whitespace)
Overrides:
setIgnoringElementContentWhitespace in class DocumentBuilderFactory

setExpandEntityReferences

public void setExpandEntityReferences(boolean expandEntityRef)
Overrides:
setExpandEntityReferences in class DocumentBuilderFactory

setIgnoringComments

public void setIgnoringComments(boolean ignoreComments)
Overrides:
setIgnoringComments in class DocumentBuilderFactory

setCoalescing

public void setCoalescing(boolean coalescing)
Overrides:
setCoalescing in class DocumentBuilderFactory

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class DocumentBuilderFactory

isValidating

public boolean isValidating()
Overrides:
isValidating in class DocumentBuilderFactory

isIgnoringElementContentWhitespace

public boolean isIgnoringElementContentWhitespace()
Overrides:
isIgnoringElementContentWhitespace in class DocumentBuilderFactory

isExpandEntityReferences

public boolean isExpandEntityReferences()
Overrides:
isExpandEntityReferences in class DocumentBuilderFactory

isIgnoringComments

public boolean isIgnoringComments()
Overrides:
isIgnoringComments in class DocumentBuilderFactory

isCoalescing

public boolean isCoalescing()
Overrides:
isCoalescing in class DocumentBuilderFactory

setAttribute

public void setAttribute(String name,
                         Object value)
                  throws IllegalArgumentException
Specified by:
setAttribute in class DocumentBuilderFactory
Throws:
IllegalArgumentException

getAttribute

public Object getAttribute(String name)
                    throws IllegalArgumentException
Specified by:
getAttribute in class DocumentBuilderFactory
Throws:
IllegalArgumentException

setFeature

public void setFeature(String name,
                       boolean value)
                throws ParserConfigurationException
Specified by:
setFeature in class DocumentBuilderFactory
Throws:
ParserConfigurationException

getFeature

public boolean getFeature(String name)
                   throws ParserConfigurationException
Specified by:
getFeature in class DocumentBuilderFactory
Throws:
ParserConfigurationException

getSchema

public Schema getSchema()
Overrides:
getSchema in class DocumentBuilderFactory

setSchema

public void setSchema(Schema schema)
Overrides:
setSchema in class DocumentBuilderFactory

setXIncludeAware

public void setXIncludeAware(boolean state)
Overrides:
setXIncludeAware in class DocumentBuilderFactory

isXIncludeAware

public boolean isXIncludeAware()
Overrides:
isXIncludeAware in class DocumentBuilderFactory


Copyright © 2011. All Rights Reserved.