Class StandardDocument

    • Constructor Detail

      • StandardDocument

        protected StandardDocument​(StandardDocumentType documentType)
        Creates a new standard document based on the given type.
        Parameters:
        documentType - the document type.
        Since:
        8.1.0
    • Method Detail

      • getStandard

        public StandardDocument.Standard getStandard()
        Returns an API for accessing the standard fields in this document.

        If a document field value is modified without using this API, the object previously returned by this method (or its child objects) may no longer reflect the correct data in the document. In this case this method should be called again to obtain another Standard object to be used.

        Returns:
        the standard fields access API.
        Since:
        8.1.0
        See Also:
        StandardDocumentType.StandardFields