public class org.apache.xpath.objects.XStringForChars extends org.apache.xpath.objects.XString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.objects.XStringForChars
super_class: org.apache.xpath.objects.XString
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2235248887220850467
int m_start;
descriptor: I
flags: (0x0000)
int m_length;
descriptor: I
flags: (0x0000)
protected java.lang.String m_strCache;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
public void <init>(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/Object;)V
1: aload 0
aconst_null
putfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
2: aload 0
iload 2
putfield org.apache.xpath.objects.XStringForChars.m_start:I
3: aload 0
iload 3
putfield org.apache.xpath.objects.XStringForChars.m_length:I
4: aload 1
ifnonnull 8
5: new java.lang.IllegalArgumentException
dup
6: ldc "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL"
aconst_null
invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: org.apache.xpath.objects.XStringForChars char[] int int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/objects/XStringForChars;
0 9 1 val [C
0 9 2 start I
0 9 3 length I
MethodParameters:
Name Flags
val
start
length
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.xpath.objects.XString.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
2: new java.lang.IllegalArgumentException
dup
3: ldc "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING"
aconst_null
invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/objects/XStringForChars;
0 5 1 val Ljava/lang/String;
MethodParameters:
Name Flags
val
public org.apache.xml.utils.FastStringBuffer fsb();
descriptor: ()Lorg/apache/xml/utils/FastStringBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
ldc "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS"
aconst_null
invokestatic org.apache.xalan.res.XSLMessages.createXPATHMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XStringForChars;
public void appendToFsb(org.apache.xml.utils.FastStringBuffer);
descriptor: (Lorg/apache/xml/utils/FastStringBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_length:I
invokevirtual org.apache.xml.utils.FastStringBuffer.append:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XStringForChars;
0 2 1 fsb Lorg/apache/xml/utils/FastStringBuffer;
MethodParameters:
Name Flags
fsb
public boolean hasString();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
ifnull 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/XStringForChars;
public java.lang.String str();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
ifnonnull 2
1: aload 0
new java.lang.String
dup
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_length:I
invokespecial java.lang.String.<init>:([CII)V
putfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_strCache:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XStringForChars;
public java.lang.Object object();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.xpath.objects.XStringForChars.str:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XStringForChars;
public void dispatchCharactersEvents(org.xml.sax.ContentHandler);
descriptor: (Lorg/xml/sax/ContentHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_length:I
invokeinterface org.xml.sax.ContentHandler.characters:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XStringForChars;
0 2 1 ch Lorg/xml/sax/ContentHandler;
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=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_length:I
invokeinterface org.xml.sax.ext.LexicalHandler.comment:([CII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XStringForChars;
0 2 1 lh Lorg/xml/sax/ext/LexicalHandler;
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
getfield org.apache.xpath.objects.XStringForChars.m_length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XStringForChars;
public char charAt(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
iload 1
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
iadd
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XStringForChars;
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
getfield org.apache.xpath.objects.XStringForChars.m_obj:Ljava/lang/Object;
checkcast char[]
aload 0
getfield org.apache.xpath.objects.XStringForChars.m_start:I
iload 1
iadd
aload 3
iload 4
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)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/XStringForChars;
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
}
SourceFile: "XStringForChars.java"