1 package schema.system.sE29068435D67997CD7F0E8EBB2A08AD1;
2
3 public final class TypeSystemHolder
4 {
5 private TypeSystemHolder() { }
6 public static final org.apache.xmlbeans.SchemaTypeSystem typeSystem = loadTypeSystem();
7 static { typeSystem.resolve(); }
8 private static final org.apache.xmlbeans.SchemaTypeSystem loadTypeSystem()
9 {
10 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 Object[] { TypeSystemHolder.class }); }
11 catch (ClassNotFoundException e) { throw new RuntimeException("Cannot load org.apache.xmlbeans.impl.SchemaTypeSystemImpl: make sure xbean.jar is on the classpath.", e); }
12 catch (Exception e) { throw new RuntimeException("Could not instantiate SchemaTypeSystemImpl (" + e.toString() + "): is the version of xbean.jar correct?", e); }
13 }
14 }
This page was automatically generated by Maven