class_body
{ "{"
field_declaration (+166 nodes collapsed)
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "key"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "val"
; ";"
field_declaration
type_identifier "Attributes"
variable_declarator
identifier "parent"
; ";"
line_comment "// used to update the holding Attributes when the key / valu"...
block_comment "/**\n * Create a new attribute from unencoded (raw) key a"...
constructor_declaration (+28 nodes collapsed)
block_comment "/**\n * Create a new attribute from unencoded (raw) key a"...
constructor_declaration (+81 nodes collapsed)
block_comment "/**\n Get the attribute key.\n @return the attribute k"...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getKey"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "key"
; ";"
} "}"
block_comment "/**\n Set the attribute key; case is preserved.\n @par"...
method_declaration (+111 nodes collapsed)
block_comment "/**\n Get the attribute value.\n @return the attribute"...
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getValue"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "val"
; ";"
} "}"
block_comment "/**\n Set the attribute value.\n @param val the new at"...
method_declaration (+99 nodes collapsed)
block_comment "/**\n Get the HTML representation of this attribute; e.g."...
method_declaration (+88 nodes collapsed)
method_declaration (+114 nodes collapsed)
method_declaration (+38 nodes collapsed)
block_comment "/**\n Get the string representation of this attribute, im"...
method_declaration (+22 nodes collapsed)
block_comment "/**\n * Create a new Attribute from an unencoded key and "...
method_declaration (+50 nodes collapsed)
method_declaration
modifiers
protected "protected"
boolean_type "boolean"
identifier "isDataAttribute"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "isDataAttribute"
argument_list
( "("
identifier "key"
) ")"
; ";"
} "}"
method_declaration (+50 nodes collapsed)
block_comment "/**\n * Collapsible if it's a boolean attribute and value"...
method_declaration (+31 nodes collapsed)
method_declaration (+101 nodes collapsed)
block_comment "/**\n * @deprecated\n */"
method_declaration (+33 nodes collapsed)
block_comment "/**\n * Checks if this attribute name is defined as a boo"...
method_declaration (+33 nodes collapsed)
method_declaration (+135 nodes collapsed)
method_declaration (+71 nodes collapsed)
method_declaration (+54 nodes collapsed)
} "}"