Record Class DocumentOutlineEntry
java.lang.Object
java.lang.Record
org.exoplatform.documents.model.DocumentOutlineEntry
- Record Components:
index- the heading's position in the outline, from 0level- its depth, 1 for a top-level headingtitle- its textoffset- the character in the document's text where its section startspage- the PDF page, the slide or the sheet it is on, from 1, null for a Word document
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentOutlineEntry(int index, int level, String title, long offset, Integer page) Creates an instance of aDocumentOutlineEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intindex()Returns the value of theindexrecord component.intlevel()Returns the value of thelevelrecord component.longoffset()Returns the value of theoffsetrecord component.page()Returns the value of thepagerecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocumentOutlineEntry
Creates an instance of aDocumentOutlineEntryrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
index
-
level
-
title
-
offset
-
page
-