SchemaModelFactory.java
1.08 KB
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xmp.schema.model;
import com.adobe.xmp.schema.model.PropertyDescription;
import com.adobe.xmp.schema.model.PropertyType;
import com.adobe.xmp.schema.model.SchemaDescription;
import com.adobe.xmp.schema.model.TypeRegistry;
import com.adobe.xmp.schema.model.impl.SchemaModelFactoryImpl;
public class SchemaModelFactory {
public static boolean supportRuntimeDecorators = false;
public static SchemaDescription createSchema(String namespaceURI) {
return SchemaModelFactoryImpl.createSchema(namespaceURI);
}
public static PropertyDescription createProperty(String localName, PropertyType type) {
return SchemaModelFactoryImpl.createProperty(null, localName, type);
}
public static PropertyDescription createProperty(String namespaceURI, String localName, PropertyType type) {
return SchemaModelFactoryImpl.createProperty(namespaceURI, localName, type);
}
public static TypeRegistry createTypeRegistry() {
return SchemaModelFactoryImpl.createTypeRegistry(supportRuntimeDecorators);
}
}