|
||||||||||
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 | |
---|---|
Object |
getAttribute(String arg0)
Deprecated. |
boolean |
getFeature(String arg0)
Deprecated. |
javax.xml.validation.Schema |
getSchema()
Deprecated. |
static boolean |
isDOOMRequired()
Deprecated. |
DocumentBuilder |
newDocumentBuilder()
Deprecated. |
static DocumentBuilderFactory |
newInstance()
Deprecated. |
void |
setAttribute(String arg0,
Object arg1)
Deprecated. |
static void |
setDOOMRequired(boolean isDOOMRequired)
Deprecated. |
void |
setFeature(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 DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
newDocumentBuilder
in class DocumentBuilderFactory
ParserConfigurationException
public Object getAttribute(String arg0) throws IllegalArgumentException
getAttribute
in class DocumentBuilderFactory
IllegalArgumentException
public void setAttribute(String arg0, Object arg1) throws IllegalArgumentException
setAttribute
in class DocumentBuilderFactory
IllegalArgumentException
public static DocumentBuilderFactory newInstance()
public void setFeature(String name, boolean value) throws ParserConfigurationException
setFeature
in class DocumentBuilderFactory
ParserConfigurationException
public boolean getFeature(String arg0) throws ParserConfigurationException
getFeature
in class DocumentBuilderFactory
ParserConfigurationException
public void setSchema(javax.xml.validation.Schema schema)
setSchema
in class DocumentBuilderFactory
public javax.xml.validation.Schema getSchema()
getSchema
in class DocumentBuilderFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |