public class org.apache.xpath.objects.XString extends org.apache.xpath.objects.XObject implements org.apache.xml.utils.XMLString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.objects.XString
super_class: org.apache.xpath.objects.XObject
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2020470518395094525
public static final org.apache.xpath.objects.XString EMPTYSTRING;
descriptor: Lorg/apache/xpath/objects/XString;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.apache.xpath.objects.XString
dup
ldc ""
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
putstatic org.apache.xpath.objects.XString.EMPTYSTRING:Lorg/apache/xpath/objects/XString;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.xpath.objects.XObject.<init>:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XString;
0 2 1 val Ljava/lang/Object;
MethodParameters:
Name Flags
val
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.xpath.objects.XObject.<init>:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XString;
0 2 1 val Ljava/lang/String;
MethodParameters:
Name Flags
val
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_3
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public java.lang.String getTypeString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "#STRING"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public boolean hasString();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public double num();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XString.toDouble:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public double toDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XString.trim:()Lorg/apache/xml/utils/XMLString;
astore 1
start local 1 1: ldc NaN
dstore 2
start local 2 2: iconst_0
istore 4
start local 4 3: goto 8
4: StackMap locals: org.apache.xml.utils.XMLString double int
StackMap stack:
aload 1
iload 4
invokeinterface org.apache.xml.utils.XMLString.charAt:(I)C
istore 5
start local 5 5: iload 5
bipush 45
if_icmpeq 7
iload 5
bipush 46
if_icmpeq 7
iload 5
bipush 48
if_icmplt 6
iload 5
bipush 57
if_icmple 7
6: StackMap locals: int
StackMap stack:
dload 2
dreturn
end local 5 7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 1
invokeinterface org.apache.xml.utils.XMLString.length:()I
if_icmplt 4
end local 4 9: aload 1
invokeinterface org.apache.xml.utils.XMLString.toString:()Ljava/lang/String;
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 2
10: goto 12
StackMap locals: org.apache.xpath.objects.XString org.apache.xml.utils.XMLString double
StackMap stack: java.lang.NumberFormatException
11: pop
12: StackMap locals:
StackMap stack:
dload 2
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/xpath/objects/XString;
1 13 1 s Lorg/apache/xml/utils/XMLString;
2 13 2 result D
3 9 4 i I
5 7 5 c C
Exception table:
from to target type
9 10 11 Class java.lang.NumberFormatException
public boolean bool();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XString;
public org.apache.xml.utils.XMLString xstr();
descriptor: ()Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public java.lang.String str();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XString.m_obj:Ljava/lang/Object;
ifnull 1
aload 0
getfield org.apache.xpath.objects.XString.m_obj:Ljava/lang/Object;
checkcast java.lang.String
goto 2
StackMap locals:
StackMap stack:
1: ldc ""
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XString;
public int rtf(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.xpath.XPathContext.createDocumentFragment:()Lorg/apache/xml/dtm/DTM;
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokeinterface org.apache.xml.dtm.DTM.appendTextChild:(Ljava/lang/String;)V
2: aload 2
invokeinterface org.apache.xml.dtm.DTM.getDocument:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XString;
0 3 1 support Lorg/apache/xpath/XPathContext;
1 3 2 frag Lorg/apache/xml/dtm/DTM;
MethodParameters:
Name Flags
support
public void dispatchCharactersEvents(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XString;
0 3 1 ch Lorg/xml/sax/ContentHandler;
1 3 2 str Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
ch
public void dispatchAsComment(org.xml.sax.ext.LexicalHandler);
descriptor: (Lorg/xml/sax/ext/LexicalHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XString;
0 3 1 lh Lorg/xml/sax/ext/LexicalHandler;
1 3 2 str Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
lh
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
invokevirtual java.lang.String.charAt:(I)C
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 index I
MethodParameters:
Name Flags
index
public void getChars(int, int, char[], int);
descriptor: (II[CI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
iload 2
aload 3
iload 4
invokevirtual java.lang.String.getChars:(II[CI)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XString;
0 2 1 srcBegin I
0 2 2 srcEnd I
0 2 3 dst [C
0 2 4 dstBegin I
MethodParameters:
Name Flags
srcBegin
srcEnd
dst
dstBegin
public boolean equals(org.apache.xpath.objects.XObject);
descriptor: (Lorg/apache/xpath/objects/XObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.xpath.objects.XObject.getType:()I
istore 2
start local 2 1: iconst_4
iload 2
if_icmpne 4
2: aload 1
aload 0
invokevirtual org.apache.xpath.objects.XObject.equals:(Lorg/apache/xpath/objects/XObject;)Z
3: ireturn
4: StackMap locals: int
StackMap stack:
iconst_1
iload 2
if_icmpne 8
5: aload 1
invokevirtual org.apache.xpath.objects.XObject.bool:()Z
aload 0
invokevirtual org.apache.xpath.objects.XString.bool:()Z
if_icmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
7: ireturn
8: StackMap locals:
StackMap stack:
iconst_2
iload 2
if_icmpne 14
9: aload 1
invokevirtual org.apache.xpath.objects.XObject.num:()D
aload 0
invokevirtual org.apache.xpath.objects.XString.num:()D
dcmpl
ifne 10
iconst_1
ireturn
StackMap locals:
StackMap stack:
10: iconst_0
11: ireturn
12: StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
astore 3
start local 3 13: new org.apache.xml.utils.WrappedRuntimeException
dup
aload 3
invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xpath.objects.XString.xstr:()Lorg/apache/xml/utils/XMLString;
aload 1
invokevirtual org.apache.xpath.objects.XObject.xstr:()Lorg/apache/xml/utils/XMLString;
invokeinterface org.apache.xml.utils.XMLString.equals:(Lorg/apache/xml/utils/XMLString;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/xpath/objects/XString;
0 15 1 obj2 Lorg/apache/xpath/objects/XObject;
1 15 2 t I
13 14 3 te Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
1 3 12 Class javax.xml.transform.TransformerException
4 7 12 Class javax.xml.transform.TransformerException
8 11 12 Class javax.xml.transform.TransformerException
MethodParameters:
Name Flags
obj2
public boolean equals(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 obj2 Ljava/lang/String;
MethodParameters:
Name Flags
obj2
public boolean equals(org.apache.xml.utils.XMLString);
descriptor: (Lorg/apache/xml/utils/XMLString;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 4
1: aload 1
invokeinterface org.apache.xml.utils.XMLString.hasString:()Z
ifne 3
2: aload 1
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokeinterface org.apache.xml.utils.XMLString.equals:(Ljava/lang/String;)Z
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokeinterface org.apache.xml.utils.XMLString.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/objects/XString;
0 5 1 obj2 Lorg/apache/xml/utils/XMLString;
MethodParameters:
Name Flags
obj2
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.xpath.objects.XNodeSet
ifeq 4
3: aload 1
aload 0
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.apache.xpath.objects.XNumber
ifeq 6
5: aload 1
aload 0
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/xpath/objects/XString;
0 7 1 obj2 Ljava/lang/Object;
MethodParameters:
Name Flags
obj2
public boolean equalsIgnoreCase(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 anotherString Ljava/lang/String;
MethodParameters:
Name Flags
anotherString
public int compareTo(org.apache.xml.utils.XMLString);
descriptor: (Lorg/apache/xml/utils/XMLString;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.length:()I
istore 2
start local 2 1: aload 1
invokeinterface org.apache.xml.utils.XMLString.length:()I
istore 3
start local 3 2: iload 2
iload 3
invokestatic java.lang.Math.min:(II)I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 12
6: StackMap locals: org.apache.xpath.objects.XString org.apache.xml.utils.XMLString int int int int int
StackMap stack:
aload 0
iload 5
invokevirtual org.apache.xpath.objects.XString.charAt:(I)C
istore 7
start local 7 7: aload 1
iload 6
invokeinterface org.apache.xml.utils.XMLString.charAt:(I)C
istore 8
start local 8 8: iload 7
iload 8
if_icmpeq 10
9: iload 7
iload 8
isub
ireturn
10: StackMap locals: int int
StackMap stack:
iinc 5 1
11: iinc 6 1
end local 8 end local 7 12: StackMap locals:
StackMap stack:
iload 4
iinc 4 -1
ifne 6
13: iload 2
iload 3
isub
ireturn
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 14 0 this Lorg/apache/xpath/objects/XString;
0 14 1 xstr Lorg/apache/xml/utils/XMLString;
1 14 2 len1 I
2 14 3 len2 I
3 14 4 n I
4 14 5 i I
5 14 6 j I
7 12 7 c1 C
8 12 8 c2 C
MethodParameters:
Name Flags
xstr
public int compareToIgnoreCase(org.apache.xml.utils.XMLString);
descriptor: (Lorg/apache/xml/utils/XMLString;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.xml.utils.WrappedRuntimeException
dup
1: new java.lang.NoSuchMethodException
dup
2: ldc "Java 1.2 method, not yet implemented"
3: invokespecial java.lang.NoSuchMethodException.<init>:(Ljava/lang/String;)V
4: invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/objects/XString;
0 5 1 str Lorg/apache/xml/utils/XMLString;
MethodParameters:
Name Flags
str
public boolean startsWith(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
iload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 prefix Ljava/lang/String;
0 1 2 toffset I
MethodParameters:
Name Flags
prefix
toffset
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.xpath.objects.XString.startsWith:(Ljava/lang/String;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public boolean startsWith(org.apache.xml.utils.XMLString, int);
descriptor: (Lorg/apache/xml/utils/XMLString;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 2
istore 3
start local 3 1: aload 0
invokevirtual org.apache.xpath.objects.XString.length:()I
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 1
invokeinterface org.apache.xml.utils.XMLString.length:()I
istore 6
start local 6 4: iload 2
iflt 5
iload 2
iload 4
iload 6
isub
if_icmple 10
5: StackMap locals: org.apache.xpath.objects.XString org.apache.xml.utils.XMLString int int int int int
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual org.apache.xpath.objects.XString.charAt:(I)C
aload 1
iload 5
invokeinterface org.apache.xml.utils.XMLString.charAt:(I)C
if_icmpeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
9: iinc 5 1
10: StackMap locals:
StackMap stack:
iinc 6 -1
iload 6
ifge 6
11: iconst_1
ireturn
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 12 0 this Lorg/apache/xpath/objects/XString;
0 12 1 prefix Lorg/apache/xml/utils/XMLString;
0 12 2 toffset I
1 12 3 to I
2 12 4 tlim I
3 12 5 po I
4 12 6 pc I
MethodParameters:
Name Flags
prefix
toffset
public boolean startsWith(org.apache.xml.utils.XMLString);
descriptor: (Lorg/apache/xml/utils/XMLString;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.apache.xpath.objects.XString.startsWith:(Lorg/apache/xml/utils/XMLString;I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 prefix Lorg/apache/xml/utils/XMLString;
MethodParameters:
Name Flags
prefix
public boolean endsWith(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 suffix Ljava/lang/String;
MethodParameters:
Name Flags
suffix
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public int indexOf(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
invokevirtual java.lang.String.indexOf:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 ch I
MethodParameters:
Name Flags
ch
public int indexOf(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
iload 2
invokevirtual java.lang.String.indexOf:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 ch I
0 1 2 fromIndex I
MethodParameters:
Name Flags
ch
fromIndex
public int lastIndexOf(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
invokevirtual java.lang.String.lastIndexOf:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 ch I
MethodParameters:
Name Flags
ch
public int lastIndexOf(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
iload 2
invokevirtual java.lang.String.lastIndexOf:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 ch I
0 1 2 fromIndex I
MethodParameters:
Name Flags
ch
fromIndex
public int indexOf(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public int indexOf(org.apache.xml.utils.XMLString);
descriptor: (Lorg/apache/xml/utils/XMLString;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokeinterface org.apache.xml.utils.XMLString.toString:()Ljava/lang/String;
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Lorg/apache/xml/utils/XMLString;
MethodParameters:
Name Flags
str
public int indexOf(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
iload 2
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Ljava/lang/String;
0 1 2 fromIndex I
MethodParameters:
Name Flags
str
fromIndex
public int lastIndexOf(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public int lastIndexOf(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
iload 2
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Ljava/lang/String;
0 1 2 fromIndex I
MethodParameters:
Name Flags
str
fromIndex
public org.apache.xml.utils.XMLString substring(int);
descriptor: (I)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 beginIndex I
MethodParameters:
Name Flags
beginIndex
public org.apache.xml.utils.XMLString substring(int, int);
descriptor: (II)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
iload 1
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 beginIndex I
0 1 2 endIndex I
MethodParameters:
Name Flags
beginIndex
endIndex
public org.apache.xml.utils.XMLString concat(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public org.apache.xml.utils.XMLString toLowerCase(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public org.apache.xml.utils.XMLString toLowerCase();
descriptor: ()Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public org.apache.xml.utils.XMLString toUpperCase(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public org.apache.xml.utils.XMLString toUpperCase();
descriptor: ()Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
public org.apache.xml.utils.XMLString trim();
descriptor: ()Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.xpath.objects.XString
dup
aload 0
invokevirtual org.apache.xpath.objects.XString.str:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XString;
private static boolean isSpace(char);
descriptor: (C)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic org.apache.xml.utils.XMLCharacterRecognizer.isWhiteSpace:(C)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ch C
MethodParameters:
Name Flags
ch
public org.apache.xml.utils.XMLString fixWhiteSpace(boolean, boolean, boolean);
descriptor: (ZZZ)Lorg/apache/xml/utils/XMLString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.xpath.objects.XString.length:()I
istore 4
start local 4 1: iload 4
newarray 5
astore 5
start local 5 2: aload 0
iconst_0
iload 4
aload 5
iconst_0
invokevirtual org.apache.xpath.objects.XString.getChars:(II[CI)V
3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 9
6: StackMap locals: org.apache.xpath.objects.XString int int int int char[] int int
StackMap stack:
aload 5
iload 7
caload
invokestatic org.apache.xpath.objects.XString.isSpace:(C)Z
ifeq 8
7: goto 10
8: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
9: iload 7
iload 4
if_icmplt 6
10: StackMap locals:
StackMap stack:
iload 7
istore 8
start local 8 11: iconst_0
istore 9
start local 9 12: goto 33
13: StackMap locals: int int
StackMap stack:
aload 5
iload 7
caload
istore 10
start local 10 14: iload 10
invokestatic org.apache.xpath.objects.XString.isSpace:(C)Z
ifeq 30
15: iload 9
ifne 27
16: bipush 32
iload 10
if_icmpeq 18
17: iconst_1
istore 6
18: StackMap locals: int
StackMap stack:
aload 5
iload 8
iinc 8 1
bipush 32
castore
19: iload 3
ifeq 25
iload 7
ifeq 25
20: aload 5
iload 7
iconst_1
isub
caload
istore 11
start local 11 21: iload 11
bipush 46
if_icmpeq 32
iload 11
bipush 33
if_icmpeq 32
22: iload 11
bipush 63
if_icmpeq 32
23: iconst_1
istore 9
end local 11 24: goto 32
25: StackMap locals:
StackMap stack:
iconst_1
istore 9
26: goto 32
27: StackMap locals:
StackMap stack:
iconst_1
istore 6
28: iconst_1
istore 9
29: goto 32
30: StackMap locals:
StackMap stack:
aload 5
iload 8
iinc 8 1
iload 10
castore
31: iconst_0
istore 9
end local 10 32: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
33: iload 7
iload 4
if_icmplt 13
34: iload 2
ifeq 37
iconst_1
iload 8
if_icmpgt 37
bipush 32
aload 5
iload 8
iconst_1
isub
caload
if_icmpne 37
35: iconst_1
istore 6
36: iinc 8 -1
37: StackMap locals:
StackMap stack:
iconst_0
istore 10
start local 10 38: iload 1
ifeq 41
iload 8
ifle 41
bipush 32
aload 5
iconst_0
caload
if_icmpne 41
39: iconst_1
istore 6
40: iinc 10 1
41: StackMap locals: int
StackMap stack:
invokestatic org.apache.xpath.objects.XMLStringFactoryImpl.getFactory:()Lorg/apache/xml/utils/XMLStringFactory;
astore 11
start local 11 42: iload 6
ifeq 43
aload 11
new java.lang.String
dup
aload 5
iload 10
iload 8
iload 10
isub
invokespecial java.lang.String.<init>:([CII)V
invokevirtual org.apache.xml.utils.XMLStringFactory.newstr:(Ljava/lang/String;)Lorg/apache/xml/utils/XMLString;
goto 44
StackMap locals: org.apache.xml.utils.XMLStringFactory
StackMap stack:
43: aload 0
StackMap locals:
StackMap stack: org.apache.xml.utils.XMLString
44: areturn
end local 11 end local 10 end local 9 end local 8 end local 7 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 45 0 this Lorg/apache/xpath/objects/XString;
0 45 1 trimHead Z
0 45 2 trimTail Z
0 45 3 doublePunctuationSpaces Z
1 45 4 len I
2 45 5 buf [C
4 45 6 edit Z
5 45 7 s I
11 45 8 d I
12 45 9 pres Z
14 32 10 c C
21 24 11 prevChar C
38 45 10 start I
42 45 11 xsf Lorg/apache/xml/utils/XMLStringFactory;
MethodParameters:
Name Flags
trimHead
trimTail
doublePunctuationSpaces
public void callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
invokevirtual org.apache.xpath.XPathVisitor.visitStringLiteral:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/objects/XString;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XString;
0 2 1 owner Lorg/apache/xpath/ExpressionOwner;
0 2 2 visitor Lorg/apache/xpath/XPathVisitor;
MethodParameters:
Name Flags
owner
visitor
}
SourceFile: "XString.java"