@Override protected Schema buildTypeSchema() { return new XSSchema(); }
private void createFoundationTypes() { synchronized (FOUNDATION_TYPES) { if (!FOUNDATION_TYPES.isEmpty()) { typeRegistry.putAll(FOUNDATION_TYPES); return; } importSchema(new XSSchema()); for (Schema schema : helper.getSchemas()) { importSchema(schema); } for (Configuration config : helper.getConfigurations()) { addSchemas(Schemas.findSchemas(config)); } FOUNDATION_TYPES.putAll(typeRegistry); } }
schemas.add(new XSSchema().profile()); // encoding of common java types Schema hack = new SchemaImpl(XS.NAMESPACE);
private void createFoundationTypes() { synchronized (FOUNDATION_TYPES) { if (!FOUNDATION_TYPES.isEmpty()) { typeRegistry.putAll(FOUNDATION_TYPES); return; } importSchema(new XSSchema()); for (Schema schema : helper.getSchemas()) { importSchema(schema); } for (Configuration config : helper.getConfigurations()) { addSchemas(Schemas.findSchemas(config)); } FOUNDATION_TYPES.putAll(typeRegistry); } }
schema = new XSSchema(); importSchema(schema);