|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.parsers.DocumentBuilderFactory
org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderFactoryImpl
setDOOMRequired(boolean) in a concurrent environment can
lead to unexpected behavior and severe bugs, as shown in AXIOM-3 and AXIS2-1570.
Due to the way newDocumentBuilder() is implemented, it is not possible
to get rid of the setDOOMRequired hack without the risk of breaking existing code.
Therefore this class has been deprecated in favor of DOOMDocumentBuilderFactory.
public class DocumentBuilderFactoryImpl
| Field Summary | |
|---|---|
protected javax.xml.validation.Schema |
schema
Deprecated. |
| Constructor Summary | |
|---|---|
DocumentBuilderFactoryImpl()
Deprecated. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Deprecated. |
boolean |
getFeature(java.lang.String name)
Deprecated. |
javax.xml.validation.Schema |
getSchema()
Deprecated. |
static boolean |
isDOOMRequired()
Deprecated. |
javax.xml.parsers.DocumentBuilder |
newDocumentBuilder()
Deprecated. |
static javax.xml.parsers.DocumentBuilderFactory |
newInstance()
Deprecated. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Deprecated. |
static void |
setDOOMRequired(boolean isDOOMRequired)
Deprecated. |
void |
setFeature(java.lang.String name,
boolean value)
Deprecated. |
void |
setSchema(javax.xml.validation.Schema schema)
Deprecated. |
| Methods inherited from class javax.xml.parsers.DocumentBuilderFactory |
|---|
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, isXIncludeAware, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidating, setXIncludeAware |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.xml.validation.Schema schema
| Constructor Detail |
|---|
public DocumentBuilderFactoryImpl()
| Method Detail |
|---|
public static boolean isDOOMRequired()
public static void setDOOMRequired(boolean isDOOMRequired)
public javax.xml.parsers.DocumentBuilder newDocumentBuilder()
throws javax.xml.parsers.ParserConfigurationException
newDocumentBuilder in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationException
public java.lang.Object getAttribute(java.lang.String name)
throws java.lang.IllegalArgumentException
getAttribute in class javax.xml.parsers.DocumentBuilderFactoryjava.lang.IllegalArgumentException
public void setAttribute(java.lang.String name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
setAttribute in class javax.xml.parsers.DocumentBuilderFactoryjava.lang.IllegalArgumentExceptionpublic static javax.xml.parsers.DocumentBuilderFactory newInstance()
public void setFeature(java.lang.String name,
boolean value)
throws javax.xml.parsers.ParserConfigurationException
setFeature in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationException
public boolean getFeature(java.lang.String name)
throws javax.xml.parsers.ParserConfigurationException
getFeature in class javax.xml.parsers.DocumentBuilderFactoryjavax.xml.parsers.ParserConfigurationExceptionpublic void setSchema(javax.xml.validation.Schema schema)
setSchema in class javax.xml.parsers.DocumentBuilderFactorypublic javax.xml.validation.Schema getSchema()
getSchema in class javax.xml.parsers.DocumentBuilderFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||