class StAXDialectUtils
extends java.lang.Object
| Constructor and Description |
|---|
StAXDialectUtils() |
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.stream.XMLInputFactory |
disallowDoctypeDecl(javax.xml.stream.XMLInputFactory factory)
Default implementation for the
StAXDialect.disallowDoctypeDecl(XMLInputFactory)
method. |
public static javax.xml.stream.XMLInputFactory disallowDoctypeDecl(javax.xml.stream.XMLInputFactory factory)
StAXDialect.disallowDoctypeDecl(XMLInputFactory)
method. This method assumes that if XMLInputFactory.SUPPORT_DTD is set to false, the
underlying parser
factory - the factory to configure