|
||||||||||
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 WSCOMMONS-210 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 arg0)
Deprecated. |
boolean |
getFeature(java.lang.String arg0)
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 arg0,
java.lang.Object arg1)
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, newInstance, 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.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public java.lang.Object getAttribute(java.lang.String arg0) throws java.lang.IllegalArgumentException
getAttribute
in class javax.xml.parsers.DocumentBuilderFactory
java.lang.IllegalArgumentException
public void setAttribute(java.lang.String arg0, java.lang.Object arg1) throws java.lang.IllegalArgumentException
setAttribute
in class javax.xml.parsers.DocumentBuilderFactory
java.lang.IllegalArgumentException
public 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.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public boolean getFeature(java.lang.String arg0) throws javax.xml.parsers.ParserConfigurationException
getFeature
in class javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.ParserConfigurationException
public void setSchema(javax.xml.validation.Schema schema)
setSchema
in class javax.xml.parsers.DocumentBuilderFactory
public 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 |