public final class EPPSchemaProvider
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static javax.xml.validation.Schema |
getSchema()
Get the XML Schema object configured by this provider class for use in
validating XML documents.
|
static void |
init()
Configure default schema validation sources which will apply to all
instances of this class.
|
static void |
init(EPPResolver resolver)
Configure schema validation sources which will apply to all instances of
this class.
|
static void |
setValidating(boolean validating)
Set whether XML Schema validation should be performed by the system.
|
public static void init()
throws javax.xml.transform.TransformerException,
org.xml.sax.SAXException
javax.xml.transform.TransformerExceptionorg.xml.sax.SAXExceptionpublic static void init(EPPResolver resolver) throws javax.xml.transform.TransformerException, org.xml.sax.SAXException
resolver - The object used to resolve URIs to local schema
definition resources.javax.xml.transform.TransformerExceptionorg.xml.sax.SAXExceptionpublic static void setValidating(boolean validating)
public static javax.xml.validation.Schema getSchema()