Record Class ImageBlock
java.lang.Object
java.lang.Record
pro.verron.asciidoc.core.ImageBlock
- Record Components:
url- image URLaltText- alternative text
- All Implemented Interfaces:
Block
-
Constructor Summary
ConstructorsConstructorDescriptionImageBlock(String url, String altText) Creates an instance of aImageBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaltText()Returns the value of thealtTextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intsize()Returns the content size of this block.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
ImageBlock
-
-
Method Details
-
size
-
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). -
url
-
altText
-