Top Description Fields Constructors Methods
org.apache.pdfbox.cos

public Class COSDocumentState

extends Object
Class Inheritance

An instance of COSDocumentState collects all known states a COSDocument may have and shall allow their evaluation.
Author
Christian Appl
See Also
COSDocument

Field Summary

Modifier and TypeField and Description
private boolean
parsing

The parsing state of the document.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

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

Returns true, if the document´s parsing is completed and it may be updated.

public void
setParsing(boolean
The parsing state to set.
parsing
)

Sets the parsing state of the document.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parsingback to summary
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 Detail

COSDocumentStateback to summary
public COSDocumentState()

Method Detail

isAcceptingUpdatesback to summary
public boolean isAcceptingUpdates()

Returns true, if the document´s parsing is completed and it may be updated.

Returns:boolean

true, if the document´s parsing is completed and it may be updated.

setParsingback to summary
public void setParsing(boolean parsing)

Sets the parsing state of the document.

Parameters
parsing:boolean

The parsing state to set.