public class CustomDocumentProperties extends DocumentPropertyCollection
To learn more, visit the Work with Document Properties documentation article.
Each DocumentProperty object represents a custom property of a container document.
The names of the properties are case-insensitive.
The properties in the collection are sorted alphabetically by name.
| Modifier and Type | Method and Description |
|---|---|
DocumentProperty |
add(java.lang.String name,
boolean value)
Creates a new custom document property of the PropertyType.Boolean data type.
|
DocumentProperty |
add(java.lang.String name,
java.util.Date value)
Creates a new custom document property of the PropertyType.DateTime data type.
|
DocumentProperty |
add(java.lang.String name,
double value)
Creates a new custom document property of the PropertyType.Float data type.
|
DocumentProperty |
add(java.lang.String name,
int value)
Creates a new custom document property of the PropertyType.Number data type.
|
DocumentProperty |
add(java.lang.String name,
java.lang.String value)
|
DocumentProperty |
addLinkToContent(java.lang.String name,
java.lang.String linkSource)
Creates a new linked to content custom document property.
|
clear, contains, get, get, getCount, indexOf, iterator, remove, removeAtpublic DocumentProperty add(java.lang.String name, java.lang.String value)
name - The name of the property.value - The value of the property.public DocumentProperty add(java.lang.String name, int value)
name - The name of the property.value - The value of the property.public DocumentProperty add(java.lang.String name, java.util.Date value)
name - The name of the property.value - The value of the property.public DocumentProperty add(java.lang.String name, boolean value)
name - The name of the property.value - The value of the property.public DocumentProperty add(java.lang.String name, double value)
name - The name of the property.value - The value of the property.public DocumentProperty addLinkToContent(java.lang.String name, java.lang.String linkSource) throws java.lang.Exception
name - The name of the property.linkSource - The source of the property.java.lang.Exception