Author: scamp
Date: Mon Apr  4 09:14:06 2005
New Revision: 160055

URL: http://svn.apache.org/viewcvs?view=rev&rev=160055
Log: (empty)


Added:
    
incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/schema/system/s9453AECF4F2EEB571E8F3D241921E275/TypeSystemHolder.java

Added: 
incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/schema/system/s9453AECF4F2EEB571E8F3D241921E275/TypeSystemHolder.java
URL: 
http://svn.apache.org/viewcvs/incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/schema/system/s9453AECF4F2EEB571E8F3D241921E275/TypeSystemHolder.java?view=auto&rev=160055
==============================================================================
--- 
incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/schema/system/s9453AECF4F2EEB571E8F3D241921E275/TypeSystemHolder.java
 (added)
+++ 
incubator/muse/trunk/src/site/content/interop/src/.xmlbeans/src/schema/system/s9453AECF4F2EEB571E8F3D241921E275/TypeSystemHolder.java
 Mon Apr  4 09:14:06 2005
@@ -0,0 +1,14 @@
+package schema.system.s9453AECF4F2EEB571E8F3D241921E275;
+
+public final class TypeSystemHolder
+{
+    private TypeSystemHolder() { }
+    public static final org.apache.xmlbeans.SchemaTypeSystem typeSystem = 
loadTypeSystem();
+    static { typeSystem.resolve(); }
+    private static final org.apache.xmlbeans.SchemaTypeSystem loadTypeSystem()
+    {
+        try { return 
(org.apache.xmlbeans.SchemaTypeSystem)Class.forName("org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl",
 true, TypeSystemHolder.class.getClassLoader()).getConstructor(new Class[] { 
Class.class }).newInstance(new java.lang.Object[] { TypeSystemHolder.class }); }
+        catch (ClassNotFoundException e) { throw new RuntimeException("Cannot 
load org.apache.xmlbeans.impl.SchemaTypeSystemImpl: make sure xbean.jar is on 
the classpath.", e); }
+        catch (Exception e) { throw new RuntimeException("Could not 
instantiate SchemaTypeSystemImpl (" + e.toString() + "): is the version of 
xbean.jar correct?", e); }
+    }
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to