SMILA (incubation) API documentation

org.eclipse.smila.utils.xml
Class SchemaUtils

java.lang.Object
  extended by org.eclipse.smila.utils.xml.SchemaUtils

public final class SchemaUtils
extends java.lang.Object

The Class SchemaHelper.


Method Summary
static javax.xml.validation.Schema loadSchema(java.lang.String bundleId, java.lang.String schemaLocation)
          Load schema.
static javax.xml.validation.Schema loadSchemaRuntimeEx(java.lang.String bundleId, java.lang.String schemaLocation)
          Load schema runtime ex.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadSchema

public static javax.xml.validation.Schema loadSchema(java.lang.String bundleId,
                                                     java.lang.String schemaLocation)
                                              throws org.xml.sax.SAXException
Load schema.

Parameters:
bundleId - the bundle id
schemaLocation - the schema location
Returns:
the schema
Throws:
org.xml.sax.SAXException - the SAX exception

loadSchemaRuntimeEx

public static javax.xml.validation.Schema loadSchemaRuntimeEx(java.lang.String bundleId,
                                                              java.lang.String schemaLocation)
Load schema runtime ex.

Parameters:
bundleId - the bundle id
schemaLocation - the schema location
Returns:
the schema

SMILA (incubation) API documentation