public class javax.xml.namespace.QName implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.xml.namespace.QName
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -9120448754896609940
private final java.lang.String namespaceURI;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String localPart;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc ""
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/xml/namespace/QName;
0 2 1 namespaceURI Ljava/lang/String;
0 2 2 localPart Ljava/lang/String;
MethodParameters:
Name Flags
namespaceURI final
localPart final
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 4
2: aload 0
ldc ""
putfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
3: goto 5
4: StackMap locals: javax.xml.namespace.QName java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
putfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "local part cannot be \"null\" when creating a QName"
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
10: aload 3
ifnonnull 14
11: new java.lang.IllegalArgumentException
dup
12: ldc "prefix cannot be \"null\" when creating a QName"
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield javax.xml.namespace.QName.prefix:Ljava/lang/String;
15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/xml/namespace/QName;
0 16 1 namespaceURI Ljava/lang/String;
0 16 2 localPart Ljava/lang/String;
0 16 3 prefix Ljava/lang/String;
MethodParameters:
Name Flags
namespaceURI
localPart
prefix
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: ldc ""
2: aload 1
3: ldc ""
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/xml/namespace/QName;
0 5 1 localPart Ljava/lang/String;
MethodParameters:
Name Flags
localPart
public java.lang.String getNamespaceURI();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/namespace/QName;
public java.lang.String getLocalPart();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/namespace/QName;
public java.lang.String getPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.namespace.QName.prefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/namespace/QName;
public final boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 1
instanceof javax.xml.namespace.QName
ifne 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.namespace.QName
astore 2
start local 2 5: aload 0
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
aload 2
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
aload 2
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: javax.xml.namespace.QName
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/xml/namespace/QName;
0 9 1 objectToTest Ljava/lang/Object;
5 9 2 qName Ljavax/xml/namespace/QName;
MethodParameters:
Name Flags
objectToTest
public final int hashCode();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/xml/namespace/QName;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "{"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.xml.namespace.QName.namespaceURI:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.xml.namespace.QName.localPart:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/xml/namespace/QName;
public static javax.xml.namespace.QName valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/xml/namespace/QName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "cannot create QName from \"null\" or \"\" String"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 10
5: new javax.xml.namespace.QName
dup
6: ldc ""
7: aload 0
8: ldc ""
9: invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 123
if_icmpeq 16
11: new javax.xml.namespace.QName
dup
12: ldc ""
13: aload 0
14: ldc ""
15: invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
16: StackMap locals:
StackMap stack:
aload 0
ldc "{}"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
17: new java.lang.IllegalArgumentException
dup
18: new java.lang.StringBuilder
dup
ldc "Namespace URI .equals(XMLConstants.NULL_NS_URI), .equals(\"\"), only the local part, \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
19: aload 0
iconst_2
ldc ""
invokevirtual java.lang.String.length:()I
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: ldc "\", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc "should be provided."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 0
bipush 125
invokevirtual java.lang.String.indexOf:(I)I
istore 1
start local 1 25: iload 1
iconst_m1
if_icmpne 32
26: new java.lang.IllegalArgumentException
dup
27: new java.lang.StringBuilder
dup
ldc "cannot create QName from \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: ldc "\", missing closing \"}\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
31: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: int
StackMap stack:
new javax.xml.namespace.QName
dup
33: aload 0
iconst_1
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
34: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
35: ldc ""
36: invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 qNameAsString Ljava/lang/String;
25 37 1 endOfNamespaceURI I
MethodParameters:
Name Flags
qNameAsString
}
SourceFile: "QName.java"