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 DigitalDocumentBuildersetAuthor(PersonBuilder... personBuilders)

Sets authors of the digital document.

Parameters
personBuildersThe authors of this digital document.

public DigitalDocumentBuildersetDateCreated(Date dateCreated)

Sets the date on which the digital document was created.

Parameters
dateCreatedThe date on which the digital document was created.

public DigitalDocumentBuildersetDateModified(Date dateModified)

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

Parameters
dateModifiedThe date on which the digital document was last edited.

public DigitalDocumentBuildersetHasDigitalDocumentPermission(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
permissionsThe permissions related to the access to this digital document.

public DigitalDocumentBuildersetText(String text)

Sets the textual content of the digital document.

Parameters
textThe textual content of the digital document.