| java.lang.Object org.springframework.xml.validation.XmlValidatorFactory
XmlValidatorFactory | abstract public class XmlValidatorFactory (Code) | | Factory for XmlValidator s, being aware of JAXP 1.3 XmlValidator s, and JAXP 1.0 parsing
capababilities. Mainly for internal use within the framework.
The goal of this class is to avoid runtime dependencies on JAXP 1.3 by using the best validation implementation that
is available. Prefers JAXP 1.3 XmlValidator implementations to a custom, SAX-based implementation.
author: Arjen Poutsma See Also: XmlValidator since: 1.0.0 |
Method Summary | |
public static XmlValidator | createValidator(Resource schemaResource, String schemaLanguage) Create a XmlValidator with the given schema resource and schema language type. | public static XmlValidator | createValidator(Resource[] schemaResources, String schemaLanguage) Create a XmlValidator with the given schema resources and schema language type. |
SCHEMA_RELAX_NG | final public static String SCHEMA_RELAX_NG(Code) | | Constant that defines a RELAX NG Schema.
|
SCHEMA_W3C_XML | final public static String SCHEMA_W3C_XML(Code) | | Constant that defines a W3C XML Schema.
|
|
|