Record Class ImageInline
java.lang.Object
java.lang.Record
pro.verron.asciidoc.core.ImageInline
- Record Components:
path- image pathmap- alternative text
- All Implemented Interfaces:
Inline
-
Constructor Summary
ConstructorsConstructorDescriptionImageInline(String path, Map<String, String> map) Constructs anImageInlinewith the specified path and attributes. -
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.map()Returns the value of themaprecord component.path()Returns the value of thepathrecord component.text()Returns the text of the inline fragment.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ImageInline
Constructs anImageInlinewith the specified path and attributes.- Parameters:
path- the path to the imagemap- a mapping of alternative text attributes
-
-
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). -
path
-
map
-