public class com.sun.org.apache.xalan.internal.lib.ExsltStrings extends com.sun.org.apache.xalan.internal.lib.ExsltBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xalan.internal.lib.ExsltStrings
super_class: com.sun.org.apache.xalan.internal.lib.ExsltBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xalan.internal.lib.ExsltBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/lib/ExsltStrings;
public static java.lang.String align(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
if_icmplt 2
1: aload 0
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 2
ldc "right"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new java.lang.StringBuilder
dup
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
aload 0
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 2
ldc "center"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 1
invokevirtual java.lang.String.length:()I
aload 0
invokevirtual java.lang.String.length:()I
isub
iconst_2
idiv
istore 3
start local 3 6: new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 3
aload 0
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)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 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 targetStr Ljava/lang/String;
0 8 1 paddingStr Ljava/lang/String;
0 8 2 type Ljava/lang/String;
6 7 3 startIndex I
MethodParameters:
Name Flags
targetStr
paddingStr
type
public static java.lang.String align(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "left"
invokestatic com.sun.org.apache.xalan.internal.lib.ExsltStrings.align:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 targetStr Ljava/lang/String;
0 1 1 paddingStr Ljava/lang/String;
MethodParameters:
Name Flags
targetStr
paddingStr
public static java.lang.String concat(org.w3c.dom.NodeList);
descriptor: (Lorg/w3c/dom/NodeList;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
iload 2
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 3
start local 3 4: aload 3
invokestatic com.sun.org.apache.xalan.internal.lib.ExsltStrings.toString:(Lorg/w3c/dom/Node;)Ljava/lang/String;
astore 4
start local 4 5: aload 4
ifnull 7
aload 4
invokevirtual java.lang.String.length:()I
ifle 7
6: aload 1
aload 4
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 4 end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 3
end local 2 9: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 nl Lorg/w3c/dom/NodeList;
1 10 1 sb Ljava/lang/StringBuffer;
2 9 2 i I
4 7 3 node Lorg/w3c/dom/Node;
5 7 4 value Ljava/lang/String;
MethodParameters:
Name Flags
nl
public static java.lang.String padding(double, java.lang.String);
descriptor: (DLjava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 2 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
ldc ""
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 3: dload 0
d2i
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 12
7: StackMap locals: double java.lang.String java.lang.StringBuffer int int int
StackMap stack:
iload 6
aload 2
invokevirtual java.lang.String.length:()I
if_icmpne 9
8: iconst_0
istore 6
9: StackMap locals:
StackMap stack:
aload 3
aload 2
iload 6
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
10: iinc 6 1
11: iinc 5 1
12: StackMap locals:
StackMap stack:
iload 5
iload 4
if_icmplt 7
13: aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 length D
0 14 2 pattern Ljava/lang/String;
3 14 3 sb Ljava/lang/StringBuffer;
4 14 4 len I
5 14 5 numAdded I
6 14 6 index I
MethodParameters:
Name Flags
length
pattern
public static java.lang.String padding(double);
descriptor: (D)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: dload 0
ldc " "
invokestatic com.sun.org.apache.xalan.internal.lib.ExsltStrings.padding:(DLjava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 length D
MethodParameters:
Name Flags
length
public static org.w3c.dom.NodeList split(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: new com.sun.org.apache.xpath.internal.NodeSet
dup
invokespecial com.sun.org.apache.xpath.internal.NodeSet.<init>:()V
astore 2
start local 2 1: aload 2
iconst_1
invokevirtual com.sun.org.apache.xpath.internal.NodeSet.setShouldCacheNodes:(Z)V
2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aconst_null
astore 6
start local 6 6: goto 24
7: StackMap locals: java.lang.String java.lang.String com.sun.org.apache.xpath.internal.NodeSet int int int java.lang.String
StackMap stack:
aload 0
aload 1
iload 4
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 5
8: iload 5
iflt 12
9: aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
10: iload 5
aload 1
invokevirtual java.lang.String.length:()I
iadd
istore 4
11: goto 14
12: StackMap locals:
StackMap stack:
iconst_1
istore 3
13: aload 0
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
14: StackMap locals:
StackMap stack:
invokestatic jdk.xml.internal.JdkXmlUtils.getDOMDocument:()Lorg/w3c/dom/Document;
astore 7
start local 7 15: aload 7
dup
astore 8
monitorenter
16: aload 7
ldc "token"
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 9
start local 9 17: aload 7
aload 6
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
astore 10
start local 10 18: aload 9
aload 10
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
19: aload 2
aload 9
invokevirtual com.sun.org.apache.xpath.internal.NodeSet.addNode:(Lorg/w3c/dom/Node;)V
end local 10 end local 9 20: aload 8
monitorexit
21: goto 24
StackMap locals: java.lang.String java.lang.String com.sun.org.apache.xpath.internal.NodeSet int int int java.lang.String org.w3c.dom.Document org.w3c.dom.Document
StackMap stack: java.lang.Throwable
22: aload 8
monitorexit
23: athrow
end local 7 24: StackMap locals:
StackMap stack:
iload 3
ifne 25
iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 7
25: StackMap locals:
StackMap stack:
aload 2
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 str Ljava/lang/String;
0 26 1 pattern Ljava/lang/String;
1 26 2 resultSet Lcom/sun/org/apache/xpath/internal/NodeSet;
3 26 3 done Z
4 26 4 fromIndex I
5 26 5 matchIndex I
6 26 6 token Ljava/lang/String;
15 24 7 doc Lorg/w3c/dom/Document;
17 20 9 element Lorg/w3c/dom/Element;
18 20 10 text Lorg/w3c/dom/Text;
Exception table:
from to target type
16 21 22 any
22 23 22 any
MethodParameters:
Name Flags
str
pattern
public static org.w3c.dom.NodeList split(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/NodeList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
invokestatic com.sun.org.apache.xalan.internal.lib.ExsltStrings.split:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static org.w3c.dom.NodeList tokenize(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: new com.sun.org.apache.xpath.internal.NodeSet
dup
invokespecial com.sun.org.apache.xpath.internal.NodeSet.<init>:()V
astore 2
start local 2 1: aload 1
ifnull 14
aload 1
invokevirtual java.lang.String.length:()I
ifle 14
2: new java.util.StringTokenizer
dup
aload 0
aload 1
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 3: invokestatic jdk.xml.internal.JdkXmlUtils.getDOMDocument:()Lorg/w3c/dom/Document;
astore 4
start local 4 4: aload 4
dup
astore 5
monitorenter
5: goto 9
6: StackMap locals: java.lang.String java.lang.String com.sun.org.apache.xpath.internal.NodeSet java.util.StringTokenizer org.w3c.dom.Document org.w3c.dom.Document
StackMap stack:
aload 4
ldc "token"
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 6
start local 6 7: aload 6
aload 4
aload 3
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
8: aload 2
aload 6
invokevirtual com.sun.org.apache.xpath.internal.NodeSet.addNode:(Lorg/w3c/dom/Node;)V
end local 6 9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 6
10: aload 5
monitorexit
11: goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 5
monitorexit
13: athrow
end local 4 end local 3 14: StackMap locals:
StackMap stack:
invokestatic jdk.xml.internal.JdkXmlUtils.getDOMDocument:()Lorg/w3c/dom/Document;
astore 3
start local 3 15: aload 3
dup
astore 4
monitorenter
16: iconst_0
istore 5
start local 5 17: goto 22
18: StackMap locals: org.w3c.dom.Document org.w3c.dom.Document int
StackMap stack:
aload 3
ldc "token"
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 6
start local 6 19: aload 6
aload 3
aload 0
iload 5
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
20: aload 2
aload 6
invokevirtual com.sun.org.apache.xpath.internal.NodeSet.addNode:(Lorg/w3c/dom/Node;)V
end local 6 21: iinc 5 1
StackMap locals:
StackMap stack:
22: iload 5
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 18
end local 5 23: aload 4
monitorexit
24: goto 27
StackMap locals: java.lang.String java.lang.String com.sun.org.apache.xpath.internal.NodeSet org.w3c.dom.Document org.w3c.dom.Document
StackMap stack: java.lang.Throwable
25: aload 4
monitorexit
26: athrow
end local 3 27: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 toTokenize Ljava/lang/String;
0 28 1 delims Ljava/lang/String;
1 28 2 resultSet Lcom/sun/org/apache/xpath/internal/NodeSet;
3 14 3 lTokenizer Ljava/util/StringTokenizer;
4 14 4 doc Lorg/w3c/dom/Document;
7 9 6 element Lorg/w3c/dom/Element;
15 27 3 doc Lorg/w3c/dom/Document;
17 23 5 i I
19 21 6 element Lorg/w3c/dom/Element;
Exception table:
from to target type
5 11 12 any
12 13 12 any
16 24 25 any
25 26 25 any
MethodParameters:
Name Flags
toTokenize
delims
public static org.w3c.dom.NodeList tokenize(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/NodeList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc " \t\n\r"
invokestatic com.sun.org.apache.xalan.internal.lib.ExsltStrings.tokenize:(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 toTokenize Ljava/lang/String;
MethodParameters:
Name Flags
toTokenize
}
SourceFile: "ExsltStrings.java"