DigitalDocumentBuilder

public final class DigitalDocumentBuilder extends IndexableBuilder<DigitalDocumentBuilder>

Builder to construct an Indexable for a digital document of different types.

For reference, see: //schema.org/DigitalDocument.

Public Method Summary

DigitalDocumentBuilder
setAuthor(PersonBuilder... personBuilders)
Sets authors of the digital document.
DigitalDocumentBuilder
setDateCreated(Date dateCreated)
Sets the date on which the digital document was created.
DigitalDocumentBuilder
setDateModified(Date dateModified)
Sets the date on which the digital document was last edited.
DigitalDocumentBuilder
setHasDigitalDocumentPermission(DigitalDocumentPermissionBuilder... permissions)
Sets the permission related to the access to this digital document (e.g. permission to read or write).
DigitalDocumentBuilder
setText(String text)
Sets the textual content of the digital document.

Inherited Method Summary

Public Methods

public DigitalDocumentBuilder setAuthor (PersonBuilder... personBuilders)

Sets authors of the digital document.

Parameters
personBuilders The authors of this digital document.

public DigitalDocumentBuilder setDateCreated (Date dateCreated)

Sets the date on which the digital document was created.

Parameters
dateCreated The date on which the digital document was created.

public DigitalDocumentBuilder setDateModified (Date dateModified)

Sets the date on which the digital document was last edited.

Parameters
dateModified The date on which the digital document was last edited.

public DigitalDocumentBuilder setHasDigitalDocumentPermission (DigitalDocumentPermissionBuilder... permissions)

Sets the permission related to the access to this digital document (e.g. permission to read or write). For a public digital document, specify a grantee with an Audience with audienceType equal to "public".

Parameters
permissions The permissions related to the access to this digital document.

public DigitalDocumentBuilder setText (String text)

Sets the textual content of the digital document.

Parameters
text The textual content of the digital document.