Record Class PageBreakBlock
java.lang.Object
java.lang.Record
com.nsdev.lettergenerator.model.block.PageBreakBlock
- All Implemented Interfaces:
Block
Explicit page boundary in the body flow. Generation rejects this block in fixed elements and
visual signatures. It has no style or text and does not create a new section.
-
Constructor Summary
Constructors -
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.style()Returns no style because a page boundary has no rendered content.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PageBreakBlock
public PageBreakBlock()Creates an instance of aPageBreakBlockrecord class.
-
-
Method Details
-
style
Returns no style because a page boundary has no rendered content. -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-