Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.xml.validation.relaxng
Class RELAXNGSchemaFactory  view RELAXNGSchemaFactory download RELAXNGSchemaFactory.java

java.lang.Object
  extended byjavax.xml.validation.SchemaFactory
      extended bygnu.xml.validation.relaxng.RELAXNGSchemaFactory

public class RELAXNGSchemaFactory
extends javax.xml.validation.SchemaFactory

Schema factory for RELAX NG grammars.


Field Summary
(package private)  org.xml.sax.ErrorHandler errorHandler
           
(package private)  org.w3c.dom.ls.LSResourceResolver resourceResolver
           
 
Constructor Summary
RELAXNGSchemaFactory()
           
 
Method Summary
private static org.w3c.dom.Document getDocument(javax.xml.transform.Source source)
           
 org.xml.sax.ErrorHandler getErrorHandler()
           
 org.w3c.dom.ls.LSResourceResolver getResourceResolver()
           
 boolean isSchemaLanguageSupported(java.lang.String schemaLanguage)
          Indicates whether the specified schema language is supported.
 javax.xml.validation.Schema newSchema()
          Creates a special schema.
 javax.xml.validation.Schema newSchema(javax.xml.transform.Source[] schemata)
          Parses the specified sources, and combine them into a single schema.
 void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
           
 void setResourceResolver(org.w3c.dom.ls.LSResourceResolver resourceResolver)
           
 
Methods inherited from class javax.xml.validation.SchemaFactory
getFeature, getProperty, newInstance, newSchema, newSchema, newSchema, setFeature, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceResolver

org.w3c.dom.ls.LSResourceResolver resourceResolver

errorHandler

org.xml.sax.ErrorHandler errorHandler
Constructor Detail

RELAXNGSchemaFactory

public RELAXNGSchemaFactory()
Method Detail

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)

isSchemaLanguageSupported

public boolean isSchemaLanguageSupported(java.lang.String schemaLanguage)
Description copied from class: javax.xml.validation.SchemaFactory
Indicates whether the specified schema language is supported.


newSchema

public javax.xml.validation.Schema newSchema()
                                      throws org.xml.sax.SAXException
Description copied from class: javax.xml.validation.SchemaFactory
Creates a special schema. The exact semantics of this depends on the schema language.


newSchema

public javax.xml.validation.Schema newSchema(javax.xml.transform.Source[] schemata)
                                      throws org.xml.sax.SAXException
Description copied from class: javax.xml.validation.SchemaFactory
Parses the specified sources, and combine them into a single schema. The exact procedure and semantics of this depends on the schema language.


getDocument

private static org.w3c.dom.Document getDocument(javax.xml.transform.Source source)
                                         throws org.xml.sax.SAXException,
                                                java.io.IOException