public class DocumentAttributes extends craterdog.smart.SmartObject<DocumentAttributes>
| Modifier and Type | Field and Description |
|---|---|
Watermark |
watermark
A watermark describing how the document is signed and when it expires.
|
| Constructor and Description |
|---|
DocumentAttributes()
The default constructor ensures that the custom attribute types (like tags) will be
formatted correctly when printed.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
any()
This method returns a map of the attributes that are not explicitly defined.
|
Object |
get(String name)
This method returns the value of the attribute associated with the specified
name, or null if none exists.
|
Object |
put(String name,
Object value)
This method allows the setting of attributes that are not explicitly defined.
|
public Watermark watermark
public DocumentAttributes()
public Object get(String name)
name - The name of the attribute to be returned.public Object put(String name, Object value)
name - The name of the attribute.value - The value to be associated with this attribute name.Copyright © 2015 Crater Dog Technologies(TM). All rights reserved.