Package org.implab.gradle.xslt.internal
Record Class XmlParameterNode
java.lang.Object
java.lang.Record
org.implab.gradle.xslt.internal.XmlParameterNode
- All Implemented Interfaces:
Serializable
public record XmlParameterNode(short type, String name, String namespaceUri, String value, List<org.implab.gradle.xslt.internal.XmlParameterAttribute> attributes, List<XmlParameterNode> children)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXmlParameterNode(short type, String name, String namespaceUri, String value, List<org.implab.gradle.xslt.internal.XmlParameterAttribute> attributes, List<XmlParameterNode> children) Creates an instance of aXmlParameterNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<org.implab.gradle.xslt.internal.XmlParameterAttribute> Returns the value of theattributesrecord component.children()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.name()Returns the value of thenamerecord component.Returns the value of thenamespaceUrirecord component.final StringtoString()Returns a string representation of this record class.shorttype()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
XmlParameterNode
public XmlParameterNode(short type, String name, String namespaceUri, String value, List<org.implab.gradle.xslt.internal.XmlParameterAttribute> attributes, List<XmlParameterNode> children) Creates an instance of aXmlParameterNoderecord class.- Parameters:
type- the value for thetyperecord componentname- the value for thenamerecord componentnamespaceUri- the value for thenamespaceUrirecord componentvalue- the value for thevaluerecord componentattributes- the value for theattributesrecord componentchildren- the value for thechildrenrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
type
public short type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
namespaceUri
Returns the value of thenamespaceUrirecord component.- Returns:
- the value of the
namespaceUrirecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
attributes
Returns the value of theattributesrecord component.- Returns:
- the value of the
attributesrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-