java.lang.Object
java.lang.Record
io.helidon.codegen.JavadocTree.AttrValue
- Record Components:
value- valuekind- kind
- Enclosing interface:
JavadocTree
public static record JavadocTree.AttrValue(String value, JavadocTree.AttrValue.Kind kind)
extends Record
HTML attribute value.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordio.helidon.codegen.JavadocParser.Event.AttrNameHTML attribute name.static final recordio.helidon.codegen.JavadocParser.Event.BlockTagBlock tag.static final recordio.helidon.codegen.JavadocParser.Event.EltStartHTML element start.static final recordio.helidon.codegen.JavadocParser.Event.InlineTagInline tag.static final recordio.helidon.codegen.JavadocParser.Event.SelfCloseHTML element self close.static final recordio.helidon.codegen.JavadocParser.Event.StopperEnd of attribute or inline tag.static enumAttribute value kind. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JavadocTree.AttrValueConstant for the empty attribute value.static final io.helidon.codegen.JavadocParser.EventConstant forJavadocParser.Event.SelfClose.static final io.helidon.codegen.JavadocParser.EventConstant forJavadocParser.Event.Stopper. -
Constructor Summary
ConstructorsConstructorDescriptionAttrValue(String value, JavadocTree.AttrValue.Kind kind) Creates an instance of aAttrValuerecord 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.kind()Returns the value of thekindrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Field Details
-
EMPTY
Constant for the empty attribute value. -
STOPPER
static final io.helidon.codegen.JavadocParser.Event STOPPERConstant forJavadocParser.Event.Stopper. -
SELF_CLOSE
static final io.helidon.codegen.JavadocParser.Event SELF_CLOSEConstant forJavadocParser.Event.SelfClose.
-
-
Constructor Details
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-