public class com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver 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.xpath.internal.jaxp.JAXPPrefixResolver
super_class: java.lang.Object
{
private javax.xml.namespace.NamespaceContext namespaceContext;
descriptor: Ljavax/xml/namespace/NamespaceContext;
flags: (0x0002) ACC_PRIVATE
public static final java.lang.String S_XMLNAMESPACEURI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/XML/1998/namespace"
public void <init>(javax.xml.namespace.NamespaceContext);
descriptor: (Ljavax/xml/namespace/NamespaceContext;)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.xpath.internal.jaxp.JAXPPrefixResolver.namespaceContext:Ljavax/xml/namespace/NamespaceContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
0 3 1 nsContext Ljavax/xml/namespace/NamespaceContext;
MethodParameters:
Name Flags
nsContext
public java.lang.String getNamespaceForPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver.namespaceContext:Ljavax/xml/namespace/NamespaceContext;
aload 1
invokeinterface javax.xml.namespace.NamespaceContext.getNamespaceURI:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
0 1 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
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/xpath/internal/jaxp/JAXPPrefixResolver;
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/xpath/internal/jaxp/JAXPPrefixResolver;
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=3, 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 23
3: ldc "http://www.w3.org/XML/1998/namespace"
astore 4
4: goto 27
start local 5 5: StackMap locals: org.w3c.dom.Node java.lang.String int
StackMap stack:
iload 5
iconst_1
if_icmpne 22
6: aload 3
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 21
9: 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 10: aload 8
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
astore 9
start local 9 11: aload 9
ldc "xmlns:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
istore 10
start local 10 12: iload 10
ifne 13
aload 9
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
13: 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 14: iload 10
ifeq 15
aload 9
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 16
StackMap locals: int
StackMap stack:
15: ldc ""
StackMap locals:
StackMap stack: java.lang.String
16: astore 12
start local 12 17: aload 12
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 8
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 4
19: goto 22
end local 12 end local 11 end local 10 end local 9 end local 8 20: StackMap locals: com.sun.org.apache.xpath.internal.jaxp.JAXPPrefixResolver 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:
21: iload 7
aload 6
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 9
end local 7 end local 6 22: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
end local 5 23: StackMap locals:
StackMap stack:
aload 3
ifnull 27
aload 4
ifnonnull 27
24: aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
dup
istore 5
start local 5 25: iconst_1
if_icmpeq 5
26: iload 5
iconst_5
if_icmpeq 5
end local 5 27: 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 28 0 this Lcom/sun/org/apache/xpath/internal/jaxp/JAXPPrefixResolver;
0 28 1 prefix Ljava/lang/String;
0 28 2 namespaceContext Lorg/w3c/dom/Node;
1 28 3 parent Lorg/w3c/dom/Node;
2 28 4 namespace Ljava/lang/String;
5 23 5 type I
25 27 5 type I
7 22 6 nnm Lorg/w3c/dom/NamedNodeMap;
8 22 7 i I
10 20 8 attr Lorg/w3c/dom/Node;
11 20 9 aname Ljava/lang/String;
12 20 10 isPrefix Z
14 20 11 index I
17 20 12 p Ljava/lang/String;
MethodParameters:
Name Flags
prefix
namespaceContext
}
SourceFile: "JAXPPrefixResolver.java"