public abstract class org.apache.batik.dom.AbstractText extends org.apache.batik.dom.AbstractCharacterData implements org.w3c.dom.Text
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.batik.dom.AbstractText
super_class: org.apache.batik.dom.AbstractCharacterData
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.batik.dom.AbstractCharacterData.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/AbstractText;
public org.w3c.dom.Text splitText(int);
descriptor: (I)Lorg/w3c/dom/Text;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.batik.dom.AbstractText.isReadonly:()Z
ifeq 6
1: aload 0
bipush 7
2: ldc "readonly.node"
3: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNodeType:()S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
4: aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNodeName:()Ljava/lang/String;
aastore
5: invokevirtual org.apache.batik.dom.AbstractText.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNodeValue:()Ljava/lang/String;
astore 2
start local 2 7: iload 1
iflt 8
iload 1
aload 2
invokevirtual java.lang.String.length:()I
if_icmplt 12
8: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_1
9: ldc "offset"
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
11: invokevirtual org.apache.batik.dom.AbstractText.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 13: aload 3
ifnonnull 18
14: aload 0
iconst_1
15: ldc "need.parent"
16: iconst_0
anewarray java.lang.Object
17: invokevirtual org.apache.batik.dom.AbstractText.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
18: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
iload 1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 19: aload 0
aload 4
invokevirtual org.apache.batik.dom.AbstractText.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
astore 5
start local 5 20: aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNextSibling:()Lorg/w3c/dom/Node;
astore 6
start local 6 21: aload 6
ifnull 24
22: aload 3
aload 5
aload 6
invokeinterface org.w3c.dom.Node.insertBefore:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
23: goto 25
24: StackMap locals: java.lang.String org.w3c.dom.Text org.w3c.dom.Node
StackMap stack:
aload 3
aload 5
invokeinterface org.w3c.dom.Node.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
25: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual org.apache.batik.dom.AbstractText.setNodeValue:(Ljava/lang/String;)V
26: aload 5
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 27 0 this Lorg/apache/batik/dom/AbstractText;
0 27 1 offset I
7 27 2 v Ljava/lang/String;
13 27 3 n Lorg/w3c/dom/Node;
19 27 4 t1 Ljava/lang/String;
20 27 5 t Lorg/w3c/dom/Text;
21 27 6 ns Lorg/w3c/dom/Node;
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
offset
protected org.w3c.dom.Node getPreviousLogicallyAdjacentTextNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getPreviousSibling:()Lorg/w3c/dom/Node;
astore 2
start local 2 1: aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 2: goto 6
3: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 3
astore 2
4: aload 2
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
5: aload 2
invokeinterface org.w3c.dom.Node.getPreviousSibling:()Lorg/w3c/dom/Node;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 11
7: aload 3
ifnull 11
8: aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpeq 3
9: goto 11
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getLastChild:()Lorg/w3c/dom/Node;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpeq 10
12: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 4
start local 4 15: iload 4
iconst_3
if_icmpeq 16
iload 4
iconst_4
if_icmpne 17
16: StackMap locals: int
StackMap stack:
aload 2
areturn
17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/batik/dom/AbstractText;
0 18 1 n Lorg/w3c/dom/Node;
1 18 2 p Lorg/w3c/dom/Node;
2 18 3 parent Lorg/w3c/dom/Node;
15 18 4 nt I
MethodParameters:
Name Flags
n
protected org.w3c.dom.Node getNextLogicallyAdjacentTextNode(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
start local 2 1: aload 1
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
start local 3 2: goto 6
3: StackMap locals: org.w3c.dom.Node org.w3c.dom.Node
StackMap stack:
aload 3
astore 2
4: aload 2
invokeinterface org.w3c.dom.Node.getParentNode:()Lorg/w3c/dom/Node;
astore 3
5: aload 2
invokeinterface org.w3c.dom.Node.getNextSibling:()Lorg/w3c/dom/Node;
astore 2
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 11
7: aload 3
ifnull 11
8: aload 3
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpeq 3
9: goto 11
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnull 12
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_5
if_icmpeq 10
12: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
istore 4
start local 4 15: iload 4
iconst_3
if_icmpeq 16
iload 4
iconst_4
if_icmpne 17
16: StackMap locals: int
StackMap stack:
aload 2
areturn
17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/batik/dom/AbstractText;
0 18 1 n Lorg/w3c/dom/Node;
1 18 2 p Lorg/w3c/dom/Node;
2 18 3 parent Lorg/w3c/dom/Node;
15 18 4 nt I
MethodParameters:
Name Flags
n
public java.lang.String getWholeText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
astore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.StringBuffer org.w3c.dom.Node
StackMap stack:
aload 1
iconst_0
aload 2
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
4: aload 0
aload 2
invokevirtual org.apache.batik.dom.AbstractText.getPreviousLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 3
end local 2 6: aload 0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
start local 2 7: goto 10
8: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: aload 0
aload 2
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
10: StackMap locals:
StackMap stack:
aload 2
ifnonnull 8
end local 2 11: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/batik/dom/AbstractText;
1 12 1 sb Ljava/lang/StringBuffer;
2 6 2 n Lorg/w3c/dom/Node;
7 11 2 n Lorg/w3c/dom/Node;
public boolean isElementContentWhitespace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.AbstractText.nodeValue:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.batik.dom.AbstractText.nodeValue:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokestatic org.apache.batik.xml.XMLUtilities.isXMLSpace:(C)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 3
end local 2 7: aload 0
invokevirtual org.apache.batik.dom.AbstractText.getParentNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 8: aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_1
if_icmpne 13
9: aload 2
checkcast org.w3c.dom.Element
invokestatic org.apache.batik.dom.util.XMLSupport.getXMLSpace:(Lorg/w3c/dom/Element;)Ljava/lang/String;
astore 3
start local 3 10: aload 3
ldc "preserve"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
iconst_0
goto 12
StackMap locals: org.apache.batik.dom.AbstractText int org.w3c.dom.Node java.lang.String
StackMap stack:
11: iconst_1
StackMap locals:
StackMap stack: int
12: ireturn
end local 3 13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/batik/dom/AbstractText;
1 14 1 len I
2 7 2 i I
8 14 2 p Lorg/w3c/dom/Node;
10 13 3 sp Ljava/lang/String;
public org.w3c.dom.Text replaceWholeText(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Text;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getPreviousLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
start local 2 1: goto 11
2: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
checkcast org.apache.batik.dom.AbstractNode
astore 3
start local 3 3: aload 3
invokevirtual org.apache.batik.dom.AbstractNode.isReadonly:()Z
ifeq 10
4: aload 0
5: bipush 7
6: ldc "readonly.node"
7: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
8: aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
aastore
9: invokevirtual org.apache.batik.dom.AbstractText.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.batik.dom.AbstractText.getPreviousLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
end local 2 12: aload 0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
start local 2 13: goto 23
14: StackMap locals:
StackMap stack:
aload 2
checkcast org.apache.batik.dom.AbstractNode
astore 3
start local 3 15: aload 3
invokevirtual org.apache.batik.dom.AbstractNode.isReadonly:()Z
ifeq 22
16: aload 0
17: bipush 7
18: ldc "readonly.node"
19: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface org.w3c.dom.Node.getNodeType:()S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
20: aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
aastore
21: invokevirtual org.apache.batik.dom.AbstractText.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
end local 3 22: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 2
23: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
end local 2 24: aload 0
invokevirtual org.apache.batik.dom.AbstractText.getParentNode:()Lorg/w3c/dom/Node;
astore 2
start local 2 25: aload 0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getPreviousLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
start local 3 26: goto 29
27: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
aload 3
invokeinterface org.w3c.dom.Node.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
28: aload 0
aload 3
invokevirtual org.apache.batik.dom.AbstractText.getPreviousLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
29: StackMap locals:
StackMap stack:
aload 3
ifnonnull 27
end local 3 30: aload 0
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
start local 3 31: goto 34
32: StackMap locals:
StackMap stack:
aload 2
aload 3
invokeinterface org.w3c.dom.Node.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
33: aload 0
aload 3
invokevirtual org.apache.batik.dom.AbstractText.getNextLogicallyAdjacentTextNode:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
astore 3
34: StackMap locals:
StackMap stack:
aload 3
ifnonnull 32
end local 3 35: aload 0
invokevirtual org.apache.batik.dom.AbstractText.isReadonly:()Z
ifeq 39
36: aload 0
aload 1
invokevirtual org.apache.batik.dom.AbstractText.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
astore 3
start local 3 37: aload 2
aload 3
aload 0
invokeinterface org.w3c.dom.Node.replaceChild:(Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
38: aload 3
areturn
end local 3 39: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.batik.dom.AbstractText.setNodeValue:(Ljava/lang/String;)V
40: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lorg/apache/batik/dom/AbstractText;
0 41 1 s Ljava/lang/String;
1 12 2 n Lorg/w3c/dom/Node;
3 10 3 an Lorg/apache/batik/dom/AbstractNode;
13 24 2 n Lorg/w3c/dom/Node;
15 22 3 an Lorg/apache/batik/dom/AbstractNode;
25 41 2 parent Lorg/w3c/dom/Node;
26 30 3 n Lorg/w3c/dom/Node;
31 35 3 n Lorg/w3c/dom/Node;
37 39 3 t Lorg/w3c/dom/Text;
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
s
public java.lang.String getTextContent();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.dom.AbstractText.isElementContentWhitespace:()Z
ifeq 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.batik.dom.AbstractText.getNodeValue:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/AbstractText;
protected abstract org.w3c.dom.Text createTextNode(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Text;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
text
}
SourceFile: "AbstractText.java"