public class SchemaFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static Schema |
dtdSchemaFrom(URL url) |
static Schema |
dtdSchemaFromClasspath(String resource) |
Schema |
from(URL url) |
static SchemaFactory |
newInstance(String language) |
static Schema |
relaxNGSchemaFrom(URL url) |
static Schema |
relaxNGSchemaFromClasspath(String resource) |
static Schema |
w3cXmlSchemaFrom(File file) |
static Schema |
w3cXmlSchemaFrom(URL url) |
static Schema |
w3cXmlSchemaFromClasspath(String resource) |
static Schema |
w3cXmlSchemaFromString(String schemaContents) |
static Schema |
w3cXmlSchemaFromUrl(String urlString) |
public static SchemaFactory newInstance(String language)
public static Schema w3cXmlSchemaFromString(String schemaContents) throws SAXException
SAXExceptionpublic static Schema w3cXmlSchemaFromUrl(String urlString) throws SAXException, MalformedURLException
SAXExceptionMalformedURLExceptionpublic static Schema w3cXmlSchemaFromClasspath(String resource) throws SAXException
SAXExceptionpublic static Schema w3cXmlSchemaFrom(File file) throws SAXException
SAXExceptionpublic static Schema w3cXmlSchemaFrom(URL url) throws SAXException
SAXExceptionpublic static Schema dtdSchemaFromClasspath(String resource) throws SAXException
SAXExceptionpublic static Schema dtdSchemaFrom(URL url) throws SAXException
SAXExceptionpublic static Schema relaxNGSchemaFromClasspath(String resource) throws SAXException
SAXExceptionpublic static Schema relaxNGSchemaFrom(URL url) throws SAXException
SAXExceptionCopyright © 2010-2013. All Rights Reserved.