org.xmlmatchers.validation
Class SchemaFactory
java.lang.Object
org.xmlmatchers.validation.SchemaFactory
public class SchemaFactory
- extends Object
This is still experimental
- Author:
- David Ehringer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static SchemaFactory newInstance(String language)
from
public Schema from(URL url)
w3cXmlSchemaFromString
public static Schema w3cXmlSchemaFromString(String schemaContents)
throws SAXException
- Throws:
SAXException
w3cXmlSchemaFromUrl
public static Schema w3cXmlSchemaFromUrl(String urlString)
throws SAXException,
MalformedURLException
- Throws:
SAXException
MalformedURLException
w3cXmlSchemaFromClasspath
public static Schema w3cXmlSchemaFromClasspath(String resource)
throws SAXException
- Throws:
SAXException
w3cXmlSchemaFrom
public static Schema w3cXmlSchemaFrom(File file)
throws SAXException
- Throws:
SAXException
w3cXmlSchemaFrom
public static Schema w3cXmlSchemaFrom(URL url)
throws SAXException
- Throws:
SAXException
dtdSchemaFromClasspath
public static Schema dtdSchemaFromClasspath(String resource)
throws SAXException
- Throws:
SAXException
dtdSchemaFrom
public static Schema dtdSchemaFrom(URL url)
throws SAXException
- Throws:
SAXException
relaxNGSchemaFromClasspath
public static Schema relaxNGSchemaFromClasspath(String resource)
throws SAXException
- Throws:
SAXException
relaxNGSchemaFrom
public static Schema relaxNGSchemaFrom(URL url)
throws SAXException
- Throws:
SAXException
Copyright © 2010-2011. All Rights Reserved.