Class COSDocumentState

java.lang.Object
org.apache.pdfbox.cos.COSDocumentState

public class COSDocumentState extends Object
An instance of COSDocumentState collects all known states a COSDocument may have and shall allow their evaluation.
See Also:
  • Field Details

    • parsing

      private boolean parsing
      The parsing state of the document.
      • true, if the document is currently being parsed. (initial state)
      • false, if the document's parsing completed and it may be edited and updated.
  • Constructor Details

    • COSDocumentState

      public COSDocumentState()
  • Method Details

    • setParsing

      public void setParsing(boolean parsing)
      Sets the parsing state of the document.
      Parameters:
      parsing - The parsing state to set.
    • isAcceptingUpdates

      public boolean isAcceptingUpdates()
      Returns true, if the document´s parsing is completed and it may be updated.
      Returns:
      true, if the document´s parsing is completed and it may be updated.