| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final PropertiesDescription | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public | XMPSchemaFactory(String
namespace URI to treat namespace, Class<? extends XMPSchema> Class representation associated to this URI schemaClass, PropertiesDescription Properties Types list associated propDef)Factory Constructor for basic known schemas |
| Modifier and Type | Method and Description |
|---|---|
| public XMPSchema | Returns: the schema created and added to metadataMetadata to attach the Schema created metadata, String The namespace prefix (optional) prefix)Create a schema that corresponding to this factory and add it to metadata |
| public String | |
| public PropertiesDescription | |
| public PropertyType | Returns: null if property name is unknownThe property name name)Get type declared for the name property given |
| namespace | back to summary |
|---|---|
| private final String namespace | |
| propDef | back to summary |
|---|---|
| private final PropertiesDescription propDef | |
| schemaClass | back to summary |
|---|---|
| private final Class<? extends XMPSchema> schemaClass | |
| XMPSchemaFactory | back to summary |
|---|---|
| public XMPSchemaFactory(String namespace, Class<? extends XMPSchema> schemaClass, PropertiesDescription propDef) Factory Constructor for basic known schemas
| |
| createXMPSchema | back to summary |
|---|---|
| public XMPSchema createXMPSchema(XMPMetadata metadata, String prefix) throws XmpSchemaException Create a schema that corresponding to this factory and add it to metadata
| |
| getNamespace | back to summary |
|---|---|
| public String getNamespace() Get namespace URI treated by this factory
| |
| getPropertyDefinition | back to summary |
|---|---|
| public PropertiesDescription getPropertyDefinition() | |
| getPropertyType | back to summary |
|---|---|
| public PropertyType getPropertyType(String name) Get type declared for the name property given
| |