public abstract class DocumentPackage extends CustomPackage
Represents native metadata in an office document.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all writable metadata properties from the package.
|
void |
clearBuiltInProperties()
Removes all built-in metadata properties.
|
void |
clearCustomProperties()
Removes all custom metadata properties.
|
boolean |
remove(String propertyName)
Removes a writable metadata property by the specified name.
|
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public final boolean remove(String propertyName)
Removes a writable metadata property by the specified name.
propertyName
- A metadata property name.true
if the property is found and deleted; otherwise false
.public final void clear()
Removes all writable metadata properties from the package.
public final void clearBuiltInProperties()
Removes all built-in metadata properties.
public final void clearCustomProperties()
Removes all custom metadata properties.