public abstract class org.apache.batik.css.engine.value.LengthManager extends org.apache.batik.css.engine.value.AbstractValueManager
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.batik.css.engine.value.LengthManager
super_class: org.apache.batik.css.engine.value.AbstractValueManager
{
static final double SQRT2;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected static final int HORIZONTAL_ORIENTATION;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final int VERTICAL_ORIENTATION;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final int BOTH_ORIENTATION;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 2.0
invokestatic java.lang.Math.sqrt:(D)D
putstatic org.apache.batik.css.engine.value.LengthManager.SQRT2:D
1: return
LocalVariableTable:
Start End Slot Name Signature
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.css.engine.value.AbstractValueManager.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/css/engine/value/LengthManager;
public org.apache.batik.css.engine.value.Value createValue(org.w3c.css.sac.LexicalUnit, org.apache.batik.css.engine.CSSEngine);
descriptor: (Lorg/w3c/css/sac/LexicalUnit;Lorg/apache/batik/css/engine/CSSEngine;)Lorg/apache/batik/css/engine/value/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getLexicalUnitType:()S
tableswitch { // 13 - 23
13: 25
14: 28
15: 1
16: 4
17: 7
18: 16
19: 10
20: 13
21: 19
22: 22
23: 31
default: 34
}
1: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_3
2: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
3: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
4: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_4
5: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
6: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
7: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_5
8: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
9: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
10: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
bipush 6
11: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
12: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
13: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
bipush 7
14: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
15: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
16: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
bipush 8
17: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
18: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
19: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
bipush 9
20: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
21: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
22: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
bipush 10
23: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
24: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
25: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
26: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getIntegerValue:()I
i2f
27: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
28: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
29: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
30: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
31: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_2
32: aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getFloatValue:()F
33: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
34: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.w3c.css.sac.LexicalUnit.getLexicalUnitType:()S
invokevirtual org.apache.batik.css.engine.value.LengthManager.createInvalidLexicalUnitDOMException:(S)Lorg/w3c/dom/DOMException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lorg/apache/batik/css/engine/value/LengthManager;
0 35 1 lu Lorg/w3c/css/sac/LexicalUnit;
0 35 2 engine Lorg/apache/batik/css/engine/CSSEngine;
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
lu
engine
public org.apache.batik.css.engine.value.Value createFloatValue(short, float);
descriptor: (SF)Lorg/apache/batik/css/engine/value/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 1 - 10
1: 1
2: 1
3: 1
4: 1
5: 1
6: 1
7: 1
8: 1
9: 1
10: 1
default: 2
}
1: StackMap locals:
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iload 1
fload 2
invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.apache.batik.css.engine.value.LengthManager.createInvalidFloatTypeDOMException:(S)Lorg/w3c/dom/DOMException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/css/engine/value/LengthManager;
0 3 1 type S
0 3 2 floatValue F
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
type
floatValue
public org.apache.batik.css.engine.value.Value computeValue(org.apache.batik.css.engine.CSSStylableElement, java.lang.String, org.apache.batik.css.engine.CSSEngine, int, org.apache.batik.css.engine.StyleMap, org.apache.batik.css.engine.value.Value);
descriptor: (Lorg/apache/batik/css/engine/CSSStylableElement;Ljava/lang/String;Lorg/apache/batik/css/engine/CSSEngine;ILorg/apache/batik/css/engine/StyleMap;Lorg/apache/batik/css/engine/value/Value;)Lorg/apache/batik/css/engine/value/Value;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getCssValueType:()S
iconst_1
if_icmpeq 2
1: aload 6
areturn
2: StackMap locals:
StackMap stack:
aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getPrimitiveType:()S
tableswitch { // 1 - 10
1: 3
2: 43
3: 33
4: 38
5: 3
6: 9
7: 4
8: 14
9: 19
10: 26
default: 61
}
3: StackMap locals:
StackMap stack:
aload 6
areturn
4: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 5: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 6: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
7: fload 8
aload 7
invokeinterface org.apache.batik.css.engine.CSSContext.getPixelUnitToMillimeter:()F
fdiv
8: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 8 end local 7 9: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 10: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 11: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
12: fload 8
ldc 10.0
fmul
aload 7
invokeinterface org.apache.batik.css.engine.CSSContext.getPixelUnitToMillimeter:()F
fdiv
13: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 8 end local 7 14: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 15: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 16: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
17: fload 8
ldc 25.4
fmul
aload 7
invokeinterface org.apache.batik.css.engine.CSSContext.getPixelUnitToMillimeter:()F
fdiv
18: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 8 end local 7 19: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 20: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 21: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
22: fload 8
ldc 25.4
fmul
23: ldc 72.0
aload 7
invokeinterface org.apache.batik.css.engine.CSSContext.getPixelUnitToMillimeter:()F
fmul
24: fdiv
25: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 8 end local 7 26: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 27: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 28: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
29: fload 8
ldc 25.4
fmul
30: ldc 6.0
aload 7
invokeinterface org.apache.batik.css.engine.CSSContext.getPixelUnitToMillimeter:()F
fmul
31: fdiv
32: invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 8 end local 7 33: StackMap locals:
StackMap stack:
aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putFontSizeRelative:(IZ)V
34: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 35: aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getFontSizeIndex:()I
istore 9
start local 9 36: aload 3
aload 1
aload 2
iload 9
invokevirtual org.apache.batik.css.engine.CSSEngine.getComputedStyle:(Lorg/apache/batik/css/engine/CSSStylableElement;Ljava/lang/String;I)Lorg/apache/batik/css/engine/value/Value;
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 10
start local 10 37: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
fload 8
fload 10
fmul
invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 10 end local 9 end local 8 38: StackMap locals:
StackMap stack:
aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putFontSizeRelative:(IZ)V
39: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 8
start local 8 40: aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getFontSizeIndex:()I
istore 9
start local 9 41: aload 3
aload 1
aload 2
iload 9
invokevirtual org.apache.batik.css.engine.CSSEngine.getComputedStyle:(Lorg/apache/batik/css/engine/CSSStylableElement;Ljava/lang/String;I)Lorg/apache/batik/css/engine/value/Value;
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
fstore 10
start local 10 42: new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
fload 8
fload 10
fmul
ldc 0.5
fmul
invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 10 end local 9 end local 8 43: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.batik.css.engine.CSSEngine.getCSSContext:()Lorg/apache/batik/css/engine/CSSContext;
astore 7
start local 7 44: aload 0
invokevirtual org.apache.batik.css.engine.value.LengthManager.getOrientation:()I
tableswitch { // 0 - 1
0: 45
1: 48
default: 51
}
45: StackMap locals: org.apache.batik.css.engine.CSSContext
StackMap stack:
aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putBlockWidthRelative:(IZ)V
46: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
aload 7
aload 1
invokeinterface org.apache.batik.css.engine.CSSContext.getBlockWidth:(Lorg/w3c/dom/Element;)F
fmul
ldc 100.0
fdiv
fstore 10
start local 10 47: goto 60
end local 10 48: StackMap locals:
StackMap stack:
aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putBlockHeightRelative:(IZ)V
49: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
aload 7
aload 1
invokeinterface org.apache.batik.css.engine.CSSContext.getBlockHeight:(Lorg/w3c/dom/Element;)F
fmul
ldc 100.0
fdiv
fstore 10
start local 10 50: goto 60
end local 10 51: StackMap locals:
StackMap stack:
aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putBlockWidthRelative:(IZ)V
52: aload 5
iload 4
iconst_1
invokevirtual org.apache.batik.css.engine.StyleMap.putBlockHeightRelative:(IZ)V
53: aload 7
aload 1
invokeinterface org.apache.batik.css.engine.CSSContext.getBlockWidth:(Lorg/w3c/dom/Element;)F
f2d
dstore 11
start local 11 54: aload 7
aload 1
invokeinterface org.apache.batik.css.engine.CSSContext.getBlockHeight:(Lorg/w3c/dom/Element;)F
f2d
dstore 13
start local 13 55: aload 6
invokeinterface org.apache.batik.css.engine.value.Value.getFloatValue:()F
f2d
56: dload 11
dload 11
dmul
dload 13
dload 13
dmul
dadd
invokestatic java.lang.Math.sqrt:(D)D
getstatic org.apache.batik.css.engine.value.LengthManager.SQRT2:D
ddiv
57: dmul
58: ldc 100.0
59: ddiv
d2f
fstore 10
end local 13 end local 11 start local 10 60: StackMap locals: org.apache.batik.css.engine.value.LengthManager org.apache.batik.css.engine.CSSStylableElement java.lang.String org.apache.batik.css.engine.CSSEngine int org.apache.batik.css.engine.StyleMap org.apache.batik.css.engine.value.Value org.apache.batik.css.engine.CSSContext top top float
StackMap stack:
new org.apache.batik.css.engine.value.FloatValue
dup
iconst_1
fload 10
invokespecial org.apache.batik.css.engine.value.FloatValue.<init>:(SF)V
areturn
end local 10 end local 7 61: StackMap locals: org.apache.batik.css.engine.value.LengthManager org.apache.batik.css.engine.CSSStylableElement java.lang.String org.apache.batik.css.engine.CSSEngine int org.apache.batik.css.engine.StyleMap org.apache.batik.css.engine.value.Value
StackMap stack:
aload 6
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 62 0 this Lorg/apache/batik/css/engine/value/LengthManager;
0 62 1 elt Lorg/apache/batik/css/engine/CSSStylableElement;
0 62 2 pseudo Ljava/lang/String;
0 62 3 engine Lorg/apache/batik/css/engine/CSSEngine;
0 62 4 idx I
0 62 5 sm Lorg/apache/batik/css/engine/StyleMap;
0 62 6 value Lorg/apache/batik/css/engine/value/Value;
5 9 7 ctx Lorg/apache/batik/css/engine/CSSContext;
10 14 7 ctx Lorg/apache/batik/css/engine/CSSContext;
15 19 7 ctx Lorg/apache/batik/css/engine/CSSContext;
20 26 7 ctx Lorg/apache/batik/css/engine/CSSContext;
27 33 7 ctx Lorg/apache/batik/css/engine/CSSContext;
44 61 7 ctx Lorg/apache/batik/css/engine/CSSContext;
6 9 8 v F
11 14 8 v F
16 19 8 v F
21 26 8 v F
28 33 8 v F
35 38 8 v F
40 43 8 v F
36 38 9 fsidx I
41 43 9 fsidx I
37 38 10 fs F
42 43 10 fs F
47 48 10 fs F
50 51 10 fs F
60 61 10 fs F
54 60 11 w D
55 60 13 h D
MethodParameters:
Name Flags
elt
pseudo
engine
idx
sm
value
protected abstract int getOrientation();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
}
SourceFile: "LengthManager.java"