public abstract class org.apache.batik.anim.dom.AbstractSVGLength implements org.w3c.dom.svg.SVGLength
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.batik.anim.dom.AbstractSVGLength
super_class: java.lang.Object
{
public static final short HORIZONTAL_LENGTH;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final short VERTICAL_LENGTH;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final short OTHER_LENGTH;
descriptor: S
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected short unitType;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected float value;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected short direction;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected org.apache.batik.parser.UnitProcessor$Context context;
descriptor: Lorg/apache/batik/parser/UnitProcessor$Context;
flags: (0x0004) ACC_PROTECTED
protected static final java.lang.String[] UNITS;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 11
anewarray java.lang.String
dup
iconst_0
1: ldc ""
aastore
dup
iconst_1
ldc ""
aastore
dup
iconst_2
ldc "%"
aastore
dup
iconst_3
ldc "em"
aastore
dup
iconst_4
ldc "ex"
aastore
dup
iconst_5
ldc "px"
aastore
dup
bipush 6
ldc "cm"
aastore
dup
bipush 7
ldc "mm"
aastore
dup
bipush 8
ldc "in"
aastore
dup
bipush 9
ldc "pt"
aastore
dup
bipush 10
ldc "pc"
aastore
2: putstatic org.apache.batik.anim.dom.AbstractSVGLength.UNITS:[Ljava/lang/String;
3: return
LocalVariableTable:
Start End Slot Name Signature
protected abstract org.apache.batik.anim.dom.SVGOMElement getAssociatedElement();
descriptor: ()Lorg/apache/batik/anim/dom/SVGOMElement;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
public void <init>(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.batik.anim.dom.AbstractSVGLength$DefaultContext
dup
aload 0
invokespecial org.apache.batik.anim.dom.AbstractSVGLength$DefaultContext.<init>:(Lorg/apache/batik/anim/dom/AbstractSVGLength;)V
putfield org.apache.batik.anim.dom.AbstractSVGLength.context:Lorg/apache/batik/parser/UnitProcessor$Context;
2: aload 0
iload 1
putfield org.apache.batik.anim.dom.AbstractSVGLength.direction:S
3: aload 0
fconst_0
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
4: aload 0
iconst_1
putfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 6 1 direction S
MethodParameters:
Name Flags
direction
public short getUnitType();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.revalidate:()V
1: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
public float getValue();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.revalidate:()V
1: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
2: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.direction:S
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.context:Lorg/apache/batik/parser/UnitProcessor$Context;
3: invokestatic org.apache.batik.parser.UnitProcessor.svgToUserSpace:(FSSLorg/apache/batik/parser/UnitProcessor$Context;)F
4: freturn
5: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
6: fconst_0
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
Exception table:
from to target type
1 4 5 Class java.lang.IllegalArgumentException
public void setValue(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
1: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.direction:S
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.context:Lorg/apache/batik/parser/UnitProcessor$Context;
2: invokestatic org.apache.batik.parser.UnitProcessor.userSpaceToSVG:(FSSLorg/apache/batik/parser/UnitProcessor$Context;)F
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
3: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.reset:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 5 1 value F
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public float getValueInSpecifiedUnits();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.revalidate:()V
1: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
public void setValueInSpecifiedUnits(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.revalidate:()V
1: aload 0
fload 1
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
2: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.reset:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 4 1 value F
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public java.lang.String getValueAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.revalidate:()V
1: aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
ifne 3
2: ldc ""
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
invokestatic java.lang.Float.toString:(F)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic org.apache.batik.anim.dom.AbstractSVGLength.UNITS:[Ljava/lang/String;
aload 0
getfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
public void setValueAsString(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
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.parse:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.reset:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 3 1 value Ljava/lang/String;
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
public void newValueSpecifiedUnits(short, float);
descriptor: (SF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
1: aload 0
fload 2
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
2: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.reset:()V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 4 1 unit S
0 4 2 value F
MethodParameters:
Name Flags
unit
value
public void convertToSpecifiedUnits(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.getValue:()F
fstore 2
start local 2 1: aload 0
iload 1
putfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
2: aload 0
fload 2
invokevirtual org.apache.batik.anim.dom.AbstractSVGLength.setValue:(F)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 4 1 unit S
1 4 2 v F
MethodParameters:
Name Flags
unit
protected void reset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
protected void revalidate();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
protected void parse(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.batik.parser.LengthParser
dup
invokespecial org.apache.batik.parser.LengthParser.<init>:()V
astore 2
start local 2 1: new org.apache.batik.parser.UnitProcessor$UnitResolver
dup
invokespecial org.apache.batik.parser.UnitProcessor$UnitResolver.<init>:()V
2: astore 3
start local 3 3: aload 2
aload 3
invokevirtual org.apache.batik.parser.LengthParser.setLengthHandler:(Lorg/apache/batik/parser/LengthHandler;)V
4: aload 2
aload 1
invokevirtual org.apache.batik.parser.LengthParser.parse:(Ljava/lang/String;)V
5: aload 0
aload 3
getfield org.apache.batik.parser.UnitProcessor$UnitResolver.unit:S
putfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
6: aload 0
aload 3
getfield org.apache.batik.parser.UnitProcessor$UnitResolver.value:F
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
end local 3 end local 2 7: goto 11
StackMap locals:
StackMap stack: org.apache.batik.parser.ParseException
8: pop
9: aload 0
iconst_0
putfield org.apache.batik.anim.dom.AbstractSVGLength.unitType:S
10: aload 0
fconst_0
putfield org.apache.batik.anim.dom.AbstractSVGLength.value:F
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/batik/anim/dom/AbstractSVGLength;
0 12 1 s Ljava/lang/String;
1 7 2 lengthParser Lorg/apache/batik/parser/LengthParser;
3 7 3 ur Lorg/apache/batik/parser/UnitProcessor$UnitResolver;
Exception table:
from to target type
0 7 8 Class org.apache.batik.parser.ParseException
MethodParameters:
Name Flags
s
}
SourceFile: "AbstractSVGLength.java"
NestMembers:
org.apache.batik.anim.dom.AbstractSVGLength$DefaultContext
InnerClasses:
protected DefaultContext = org.apache.batik.anim.dom.AbstractSVGLength$DefaultContext of org.apache.batik.anim.dom.AbstractSVGLength
public abstract Context = org.apache.batik.parser.UnitProcessor$Context of org.apache.batik.parser.UnitProcessor
public UnitResolver = org.apache.batik.parser.UnitProcessor$UnitResolver of org.apache.batik.parser.UnitProcessor