Record Class Styled
java.lang.Object
java.lang.Record
pro.verron.asciidoc.core.Styled
- Record Components:
role- the style rolechildren- the styled content
- All Implemented Interfaces:
Inline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.role()Returns the value of therolerecord component.text()Returns the text of the inline fragment.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Styled
-
-
Method Details
-
text
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
role
-
children
-