Package __redirected
Class __DocumentBuilderFactory
- java.lang.Object
-
- javax.xml.parsers.DocumentBuilderFactory
-
- __redirected.__DocumentBuilderFactory
-
public final class __DocumentBuilderFactory extends javax.xml.parsers.DocumentBuilderFactory
A redirecting DocumentBuilderFactory- Author:
- David M. Lloyd, Jason T. Greene
-
-
Constructor Summary
Constructors Constructor Description __DocumentBuilderFactory()
Construct a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
changeDefaultFactory(java.lang.String id, ModuleLoader loader)
static void
changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.java.lang.Object
getAttribute(java.lang.String name)
boolean
getFeature(java.lang.String name)
javax.xml.validation.Schema
getSchema()
static void
init()
Deprecated.boolean
isCoalescing()
boolean
isExpandEntityReferences()
boolean
isIgnoringComments()
boolean
isIgnoringElementContentWhitespace()
boolean
isNamespaceAware()
boolean
isValidating()
boolean
isXIncludeAware()
javax.xml.parsers.DocumentBuilder
newDocumentBuilder()
static void
restorePlatformFactory()
void
setAttribute(java.lang.String name, java.lang.Object value)
void
setCoalescing(boolean coalescing)
void
setExpandEntityReferences(boolean expandEntityRef)
void
setFeature(java.lang.String name, boolean value)
void
setIgnoringComments(boolean ignoreComments)
void
setIgnoringElementContentWhitespace(boolean whitespace)
void
setNamespaceAware(boolean awareness)
void
setSchema(javax.xml.validation.Schema schema)
void
setValidating(boolean validating)
void
setXIncludeAware(boolean state)
-
-
-
Method Detail
-
init
@Deprecated public static void init()
Deprecated.Init method.
-
changeDefaultFactory
@Deprecated public static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
Deprecated.
-
changeDefaultFactory
public static void changeDefaultFactory(java.lang.String id, ModuleLoader loader)
-
restorePlatformFactory
public static void restorePlatformFactory()
-
newDocumentBuilder
public javax.xml.parsers.DocumentBuilder newDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
- Specified by:
newDocumentBuilder
in classjavax.xml.parsers.DocumentBuilderFactory
- Throws:
javax.xml.parsers.ParserConfigurationException
-
setNamespaceAware
public void setNamespaceAware(boolean awareness)
- Overrides:
setNamespaceAware
in classjavax.xml.parsers.DocumentBuilderFactory
-
setValidating
public void setValidating(boolean validating)
- Overrides:
setValidating
in classjavax.xml.parsers.DocumentBuilderFactory
-
setIgnoringElementContentWhitespace
public void setIgnoringElementContentWhitespace(boolean whitespace)
- Overrides:
setIgnoringElementContentWhitespace
in classjavax.xml.parsers.DocumentBuilderFactory
-
setExpandEntityReferences
public void setExpandEntityReferences(boolean expandEntityRef)
- Overrides:
setExpandEntityReferences
in classjavax.xml.parsers.DocumentBuilderFactory
-
setIgnoringComments
public void setIgnoringComments(boolean ignoreComments)
- Overrides:
setIgnoringComments
in classjavax.xml.parsers.DocumentBuilderFactory
-
setCoalescing
public void setCoalescing(boolean coalescing)
- Overrides:
setCoalescing
in classjavax.xml.parsers.DocumentBuilderFactory
-
isNamespaceAware
public boolean isNamespaceAware()
- Overrides:
isNamespaceAware
in classjavax.xml.parsers.DocumentBuilderFactory
-
isValidating
public boolean isValidating()
- Overrides:
isValidating
in classjavax.xml.parsers.DocumentBuilderFactory
-
isIgnoringElementContentWhitespace
public boolean isIgnoringElementContentWhitespace()
- Overrides:
isIgnoringElementContentWhitespace
in classjavax.xml.parsers.DocumentBuilderFactory
-
isExpandEntityReferences
public boolean isExpandEntityReferences()
- Overrides:
isExpandEntityReferences
in classjavax.xml.parsers.DocumentBuilderFactory
-
isIgnoringComments
public boolean isIgnoringComments()
- Overrides:
isIgnoringComments
in classjavax.xml.parsers.DocumentBuilderFactory
-
isCoalescing
public boolean isCoalescing()
- Overrides:
isCoalescing
in classjavax.xml.parsers.DocumentBuilderFactory
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value) throws java.lang.IllegalArgumentException
- Specified by:
setAttribute
in classjavax.xml.parsers.DocumentBuilderFactory
- Throws:
java.lang.IllegalArgumentException
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name) throws java.lang.IllegalArgumentException
- Specified by:
getAttribute
in classjavax.xml.parsers.DocumentBuilderFactory
- Throws:
java.lang.IllegalArgumentException
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException
- Specified by:
setFeature
in classjavax.xml.parsers.DocumentBuilderFactory
- Throws:
javax.xml.parsers.ParserConfigurationException
-
getFeature
public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException
- Specified by:
getFeature
in classjavax.xml.parsers.DocumentBuilderFactory
- Throws:
javax.xml.parsers.ParserConfigurationException
-
getSchema
public javax.xml.validation.Schema getSchema()
- Overrides:
getSchema
in classjavax.xml.parsers.DocumentBuilderFactory
-
setSchema
public void setSchema(javax.xml.validation.Schema schema)
- Overrides:
setSchema
in classjavax.xml.parsers.DocumentBuilderFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAware
in classjavax.xml.parsers.DocumentBuilderFactory
-
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAware
in classjavax.xml.parsers.DocumentBuilderFactory
-
-