public class com.sun.org.apache.xml.internal.utils.PrefixResolverDefault implements com.sun.org.apache.xml.internal.utils.PrefixResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.utils.PrefixResolverDefault
super_class: java.lang.Object
{
org.w3c.dom.Node m_context;
descriptor: Lorg/w3c/dom/Node;
flags: (0x0000)
public void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.utils.PrefixResolverDefault.m_context:Lorg/w3c/dom/Node;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/utils/PrefixResolverDefault;
0 3 1 xpathExpressionContext Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
xpathExpressionContext
public java.lang.String getNamespaceForPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield com.sun.org.apache.xml.internal.utils.PrefixResolverDefault.m_context:Lorg/w3c/dom/Node;
invokevirtual com.sun.org.apache.xml.internal.utils.PrefixResolverDefault.getNamespaceForPrefix:(Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/utils/PrefixResolverDefault;
0 1 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public java.lang.String getNamespaceForPrefix(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 2
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 1
ldc "xml"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
3: ldc "http://www.w3.org/XML/1998/namespace"
astore 4
4: goto 29
start local 5 5: StackMap locals: org.w3c.dom.Node java.lang.String int
StackMap stack:
iload 5
iconst_1
if_icmpne 24
6: aload 3
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifne 8
7: aload 3
invokeinterface org.w3c.dom.Node.getNamespaceURI:()Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 9: iconst_0
istore 7
start local 7 10: goto 23
11: StackMap locals: org.w3c.dom.NamedNodeMap int
StackMap stack:
aload 6
iload 7
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 8
start local 8 12: aload 8
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 9
start local 9 13: aload 9
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 10
start local 10 14: iload 10
ifne 15
aload 9
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
15: StackMap locals: org.w3c.dom.Node java.lang.String int
StackMap stack:
aload 9
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 16: iload 10
ifeq 17
aload 9
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 18
StackMap locals: int
StackMap stack:
17: ldc ""
StackMap locals:
StackMap stack: java.lang.String
18: astore 12
start local 12 19: aload 12
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 8
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 4
21: goto 24
end local 12 end local 11 end local 10 end local 9 end local 8 22: StackMap locals: com.sun.org.apache.xml.internal.utils.PrefixResolverDefault java.lang.String org.w3c.dom.Node org.w3c.dom.Node java.lang.String int org.w3c.dom.NamedNodeMap int
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
23: iload 7
aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 11
end local 7 end local 6 24: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
end local 5 25: StackMap locals:
StackMap stack:
aload 3
ifnull 29
aload 4
ifnonnull 29
26: aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
dup
istore 5
start local 5 27: iconst_1
if_icmpeq 5
28: iload 5
iconst_5
if_icmpeq 5
end local 5 29: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lcom/sun/org/apache/xml/internal/utils/PrefixResolverDefault;
0 30 1 prefix Ljava/lang/String;
0 30 2 namespaceContext Lorg/w3c/dom/Node;
1 30 3 parent Lorg/w3c/dom/Node;
2 30 4 namespace Ljava/lang/String;
5 25 5 type I
27 29 5 type I
9 24 6 nnm Lorg/w3c/dom/NamedNodeMap;
10 24 7 i I
12 22 8 attr Lorg/w3c/dom/Node;
13 22 9 aname Ljava/lang/String;
14 22 10 isPrefix Z
16 22 11 index I
19 22 12 p Ljava/lang/String;
MethodParameters:
Name Flags
prefix
namespaceContext
public java.lang.String getBaseIdentifier();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/utils/PrefixResolverDefault;
public boolean handlesNullPrefixes();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/utils/PrefixResolverDefault;
}
SourceFile: "PrefixResolverDefault.java"