getDC
above, passing in null
only matches fields where the qualifier or language is actually null
.Item.ANY
will match any element, qualifier or language, including null
. Thus, item.clearDC(Item.ANY, Item.ANY, Item.ANY)
will remove all Dublin Core metadata associated with an item.
@param schema the schema for the metadata field. Must match the name
of an existing metadata schema.
@param element the Dublin Core element to remove, or Item.ANY
@param qualifier the qualifier. null
means unqualified, and Item.ANY
means any qualifier (including unqualified.)
@param lang the ISO639 language code, optionally followed by an underscore and the ISO3166 country code. null
means only values with no language are removed, and Item.ANY
means values with any country code or no country code are removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|