public final class XMPSchemaRegistry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static XMPSchemaRegistry |
instance |
private java.util.Map |
schemas |
| Modifier | Constructor and Description |
|---|---|
private |
XMPSchemaRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSchema(XMPSchema schema)
Adds an XMP schema to the registry.
|
static XMPSchemaRegistry |
getInstance() |
XMPSchema |
getSchema(java.lang.String namespace)
Returns the XMP schema object for a given namespace.
|
private void |
init() |
private static XMPSchemaRegistry instance
private java.util.Map schemas
public static XMPSchemaRegistry getInstance()
private void init()
public void addSchema(XMPSchema schema)
schema - the XMP schemapublic XMPSchema getSchema(java.lang.String namespace)
namespace - the namespace URI