public class XMPBasicAdapter extends XMPSchemaAdapter
meta
Constructor and Description |
---|
XMPBasicAdapter(Metadata meta,
String namespace)
Constructs a new adapter for XMP Basic around the given metadata object.
|
Modifier and Type | Method and Description |
---|---|
void |
addIdentifier(String value)
Adds an identifier that unambiguously identify the resource within a given context.
|
String |
getBaseUrl()
Returns the base URL for relative URLs in the document content.
|
Date |
getCreateDate() |
String |
getCreatorTool() |
String |
getIdentifier(String qualifier)
Returns an identifier that matches a given qualifier.
|
String[] |
getIdentifiers()
Returns an array of all identifiers that unambiguously identify the resource within a
given context.
|
Date |
getMetadataDate() |
Date |
getModifyDate() |
void |
setBaseUrl(String value)
Sets the base URL for relative URLs in the document content.
|
void |
setCreateDate(Date creationDate)
Sets the date and time the resource was originally created.
|
void |
setCreatorTool(String value)
Sets the first known tool used to create the resource.
|
void |
setIdentifier(String value,
String qualifier)
Sets a qualified identifier that unambiguously identify the resource within a given context.
|
void |
setMetadataDate(Date metadataDate)
Sets the date and time any metadata for this resource was last changed.
|
void |
setModifyDate(Date modifyDate)
Sets the date and time the resource was last modified.
|
addDateToSeq, addObjectToArray, addStringToBag, addStringToSeq, findQualifiedStructure, findQualifiedValue, formatISO8601Date, formatISO8601Date, getDateArray, getDateValue, getLangAlt, getObjectArray, getQName, getSchema, getStringArray, getValue, removeLangAlt, removeStringFromArray, setDateValue, setLangAlt, setValue
public void setBaseUrl(String value)
value
- the base URLpublic String getBaseUrl()
public void setCreateDate(Date creationDate)
creationDate
- the creation datepublic Date getCreateDate()
public void setCreatorTool(String value)
value
- the creator toolpublic String getCreatorTool()
public void addIdentifier(String value)
value
- the identifier valuepublic void setIdentifier(String value, String qualifier)
xmpidq:Scheme
is used.value
- the identifier valuequalifier
- the qualifier value (for xmpidq:Scheme)public String[] getIdentifiers()
public String getIdentifier(String qualifier)
xmpidq:Scheme
is used.qualifier
- the qualifierpublic void setModifyDate(Date modifyDate)
modifyDate
- the modification datepublic Date getModifyDate()
public void setMetadataDate(Date metadataDate)
metadataDate
- the modification date for the metadatapublic Date getMetadataDate()
Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.