package schema.system.sD476AFB62C28EC9C6E8B3794CEE51FAD;
public final class TypeSystemHolder {
private TypeSystemHolder() {
// No action...
}
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);
}
}
}