org.apache.xerces.jaxp.validation
Class XMLSchemaFactory
java.lang.Object
javax.xml.validation.SchemaFactory
org.apache.xerces.jaxp.validation.XMLSchemaFactory
- public final class XMLSchemaFactory
- extends javax.xml.validation.SchemaFactory
SchemaFactory for XML Schema.
- Version:
- $Id: XMLSchemaFactory.java 450930 2006-09-28 17:17:16Z mrglavas $
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
| Methods inherited from class javax.xml.validation.SchemaFactory |
newInstance, newSchema, newSchema, newSchema |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSchemaFactory
public XMLSchemaFactory()
isSchemaLanguageSupported
public boolean isSchemaLanguageSupported(java.lang.String schemaLanguage)
Is specified schema supported by this SchemaFactory?
- Parameters:
schemaLanguage - Specifies the schema language which the returned SchemaFactory will understand.
schemaLanguage must specify a valid schema language.
- Returns:
true if SchemaFactory supports schemaLanguage, else false.
- Throws:
java.lang.NullPointerException - If schemaLanguage is null.
java.lang.IllegalArgumentException - If schemaLanguage.length() == 0
or schemaLanguage does not specify a valid schema language.
getResourceResolver
public org.w3c.dom.ls.LSResourceResolver getResourceResolver()
setResourceResolver
public void setResourceResolver(org.w3c.dom.ls.LSResourceResolver resourceResolver)
getErrorHandler
public org.xml.sax.ErrorHandler getErrorHandler()
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
newSchema
public javax.xml.validation.Schema newSchema(javax.xml.transform.Source[] schemas)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
newSchema
public javax.xml.validation.Schema newSchema()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getFeature
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
setProperty
public void setProperty(java.lang.String name,
java.lang.Object object)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
Copyright ? 1999-2006 The Apache Software Foundation. All Rights Reserved.