| java.lang.Object org.springframework.util.xml.XmlValidationModeDetector
XmlValidationModeDetector | public class XmlValidationModeDetector (Code) | | Detects whether an XML stream is using DTD- or XSD-based validation.
author: Rob Harrop author: Juergen Hoeller since: 2.0 |
Field Summary | |
final public static int | VALIDATION_AUTO Indicates that the validation mode should be auto-guessed, since we cannot find
a clear indication (probably choked on some special characters, or the like). | final public static int | VALIDATION_DTD Indicates that DTD validation should be used (we found a "DOCTYPE" declaration). | final public static int | VALIDATION_XSD Indicates that XSD validation should be used (found no "DOCTYPE" declaration). |
VALIDATION_AUTO | final public static int VALIDATION_AUTO(Code) | | Indicates that the validation mode should be auto-guessed, since we cannot find
a clear indication (probably choked on some special characters, or the like).
|
VALIDATION_DTD | final public static int VALIDATION_DTD(Code) | | Indicates that DTD validation should be used (we found a "DOCTYPE" declaration).
|
VALIDATION_XSD | final public static int VALIDATION_XSD(Code) | | Indicates that XSD validation should be used (found no "DOCTYPE" declaration).
|
|
|