class_body
{ "{"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "6346532297491082651L"
; ";"
field_declaration
modifiers
private "private"
type_identifier "Object"
variable_declarator
identifier "node"
; ";"
field_declaration
modifiers
private "private"
type_identifier "String"
variable_declarator
identifier "id"
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "XML_NAMESPACE_URI"
= "="
string_literal
" "\""
string_fragment "http://www.w3.org/XML/1998/namespace"
" "\""
; ";"
field_declaration
modifiers
public "public"
static "static"
final "final"
type_identifier "String"
variable_declarator
identifier "XMLNS_NAMESPACE_URI"
= "="
string_literal
" "\""
string_fragment "http://www.w3.org/2000/xmlns/"
" "\""
; ";"
constructor_declaration (+35 nodes collapsed)
constructor_declaration (+48 nodes collapsed)
constructor_declaration (+33 nodes collapsed)
method_declaration (+38 nodes collapsed)
method_declaration (+26 nodes collapsed)
method_declaration (+21 nodes collapsed)
method_declaration (+26 nodes collapsed)
method_declaration
modifiers
public "public"
type_identifier "String"
identifier "getNamespaceURI"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
method_invocation
identifier "getNamespaceURI"
argument_list
( "("
identifier "node"
) ")"
; ";"
} "}"
method_declaration (+89 nodes collapsed)
method_declaration (+146 nodes collapsed)
method_declaration (+413 nodes collapsed)
block_comment "/**\n * @see org.apache.commons.jxpath.ri.model.NodePoint"...
method_declaration
modifiers
public "public"
type_identifier "Object"
identifier "getBaseValue"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "node"
; ";"
} "}"
method_declaration
modifiers
public "public"
boolean_type "boolean"
identifier "isCollection"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
false "false"
; ";"
} "}"
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getLength"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
decimal_integer_literal "1"
; ";"
} "}"
method_declaration (+92 nodes collapsed)
block_comment "/**\n * @see org.apache.commons.jxpath.ri.model.NodePoint"...
method_declaration (+149 nodes collapsed)
block_comment "/**\n * @see org.apache.commons.jxpath.ri.model.NodePoint"...
method_declaration
modifiers
public "public"
type_identifier "Object"
identifier "getImmediateNode"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "node"
; ";"
} "}"
method_declaration (+226 nodes collapsed)
method_declaration (+438 nodes collapsed)
method_declaration (+305 nodes collapsed)
method_declaration (+27 nodes collapsed)
method_declaration
modifiers
public "public"
static "static"
boolean_type "boolean"
identifier "testNode"
formal_parameters
( "("
formal_parameter
type_identifier "NodePointer"
identifier "pointer"
, ","
formal_parameter
type_identifier "Object"
identifier "node"
, ","
formal_parameter
type_identifier "NodeTest"
identifier "test"
) ")"
block
{ "{"
if_statement
if "if"
parenthesized_expression
( "("
binary_expression
identifier "test"
== "=="
null_literal "null"
) ")"
block
{ "{"
return_statement
return "return"
true "true"
; ";"
} "}"
else "else"
if_statement
if "if"
parenthesized_expression
( "("
instanceof_expression
identifier "test"
instanceof "instanceof"
type_identifier "NodeNameTest"
) ")"
block (+163 nodes collapsed)
else "else"
if_statement
if "if"
parenthesized_expression
( "("
instanceof_expression
identifier "test"
instanceof "instanceof"
type_identifier "NodeTypeTest"
) ")"
block
{ "{"
switch_expression
switch "switch"
parenthesized_expression
( "("
method_invocation
parenthesized_expression
( "("
cast_expression
( "("
type_identifier "NodeTypeTest"
) ")"
identifier "test"
) ")"
. "."
identifier "getNodeType"
argument_list
( "("
) ")"
) ")"
switch_block
{ "{"
switch_block_statement_group
switch_label
case "case"
field_access
identifier "Compiler"
. "."
identifier "NODE_TYPE_NODE"
: ":"
return_statement
return "return"
instanceof_expression
identifier "node"
instanceof "instanceof"
type_identifier "Element"
; ";"
switch_block_statement_group (+27 nodes collapsed)
switch_block_statement_group
switch_label
case "case"
field_access
identifier "Compiler"
. "."
identifier "NODE_TYPE_COMMENT"
: ":"
return_statement
return "return"
instanceof_expression
identifier "node"
instanceof "instanceof"
type_identifier "Comment"
; ";"
switch_block_statement_group
switch_label
case "case"
field_access
identifier "Compiler"
. "."
identifier "NODE_TYPE_PI"
: ":"
return_statement
return "return"
instanceof_expression
identifier "node"
instanceof "instanceof"
type_identifier "ProcessingInstruction"
; ";"
} "}"
return_statement
return "return"
false "false"
; ";"
} "}"
else "else"
if_statement (+75 nodes collapsed)
return_statement
return "return"
false "false"
; ";"
} "}"
method_declaration (+107 nodes collapsed)
method_declaration (+138 nodes collapsed)
method_declaration (+78 nodes collapsed)
block_comment "/**\n * Returns true if the xml:lang attribute for the cu"...
method_declaration (+71 nodes collapsed)
method_declaration (+120 nodes collapsed)
method_declaration (+206 nodes collapsed)
method_declaration (+250 nodes collapsed)
method_declaration (+57 nodes collapsed)
method_declaration (+270 nodes collapsed)
method_declaration (+64 nodes collapsed)
method_declaration (+565 nodes collapsed)
method_declaration (+168 nodes collapsed)
method_declaration (+222 nodes collapsed)
method_declaration (+194 nodes collapsed)
method_declaration (+201 nodes collapsed)
method_declaration (+187 nodes collapsed)
method_declaration (+23 nodes collapsed)
method_declaration (+72 nodes collapsed)
method_declaration (+63 nodes collapsed)
} "}"