public SchemaTypeSystem getTypeSystem() { if (typeSystem != null) return typeSystem; try { typeSystem = XmlObject.Factory.parse(xml).schemaType().getTypeSystem(); return typeSystem; } catch (Exception e) { return XmlBeans.getBuiltinTypeSystem(); } }
@Override public SchemaType getSchemaType() { return XmlBeans.getBuiltinTypeSystem().findType(getType()); }
public void loadSchemaTypes(DefinitionLoader loader) throws SchemaException { schemaTypes = SchemaUtils.loadSchemaTypes(loader.getBaseURI(), loader); schemaTypeLoader = XmlBeans.typeLoaderUnion( new SchemaTypeLoader[] {schemaTypes, XmlBeans.getBuiltinTypeSystem()}); }
public SchemaTypeSystem getTypeSystem() { return XmlBeans.getBuiltinTypeSystem(); }