| Constructor and Description |
|---|
SimpleDocument(java.util.Map<java.lang.String,java.util.List<Value>> properties)
Constructs a
SimpleDocument whose metadata consists
of the supplied Map of properties, associating
property names with their Values. |
| Modifier and Type | Method and Description |
|---|---|
Property |
findProperty(java.lang.String name)
Finds a
Property by name. |
java.util.Set<java.lang.String> |
getPropertyNames()
Gets the set of names of all
Properties in this
Document. |
public Property findProperty(java.lang.String name)
DocumentProperty by name. If the current document has a property
then that property is returned.findProperty in interface Documentname - the name of the Property to findProperty, if found; null otherwisepublic java.util.Set<java.lang.String> getPropertyNames()
DocumentProperties in this
Document.getPropertyNames in interface DocumentSet of Strings