public abstract class org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio implements org.w3c.dom.svg.SVGPreserveAspectRatio, org.apache.batik.util.SVGConstants
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio
super_class: java.lang.Object
{
protected static final java.lang.String[] ALIGN_VALUES;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final java.lang.String[] MEET_OR_SLICE_VALUES;
descriptor: [Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected short align;
descriptor: S
flags: (0x0004) ACC_PROTECTED
protected short meetOrSlice;
descriptor: S
flags: (0x0004) ACC_PROTECTED
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_1
1: ldc "none"
aastore
dup
iconst_2
2: ldc "xMinYMin"
aastore
dup
iconst_3
3: ldc "xMidYMin"
aastore
dup
iconst_4
4: ldc "xMaxYMin"
aastore
dup
iconst_5
5: ldc "xMinYMid"
aastore
dup
bipush 6
6: ldc "xMidYMid"
aastore
dup
bipush 7
7: ldc "xMaxYMid"
aastore
dup
bipush 8
8: ldc "xMinYMax"
aastore
dup
bipush 9
9: ldc "xMidYMax"
aastore
dup
bipush 10
10: ldc "xMaxYMax"
aastore
11: putstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.ALIGN_VALUES:[Ljava/lang/String;
12: iconst_3
anewarray java.lang.String
dup
iconst_1
13: ldc "meet"
aastore
dup
iconst_2
14: ldc "slice"
aastore
15: putstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.MEET_OR_SLICE_VALUES:[Ljava/lang/String;
16: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String getValueAsString(short, short);
descriptor: (SS)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iconst_1
if_icmplt 1
iload 0
bipush 10
if_icmple 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
getstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.ALIGN_VALUES:[Ljava/lang/String;
iload 0
aaload
astore 2
start local 2 3: iload 0
iconst_1
if_icmpne 5
4: aload 2
areturn
5: StackMap locals: java.lang.String
StackMap stack:
iload 1
iconst_1
if_icmplt 6
iload 1
iconst_2
if_icmple 7
6: StackMap locals:
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
getstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.MEET_OR_SLICE_VALUES:[Ljava/lang/String;
iload 1
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 align S
0 8 1 meetOrSlice S
3 8 2 value Ljava/lang/String;
MethodParameters:
Name Flags
align
meetOrSlice
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: bipush 6
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
3: aload 0
iconst_1
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
public short getAlign();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
public short getMeetOrSlice();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
public void setAlign(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
1: aload 0
aload 0
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.getValueAsString:()Ljava/lang/String;
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.setAttributeValue:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
0 3 1 align S
MethodParameters:
Name Flags
align
public void setMeetOrSlice(short);
descriptor: (S)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
1: aload 0
aload 0
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.getValueAsString:()Ljava/lang/String;
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.setAttributeValue:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
0 3 1 meetOrSlice S
MethodParameters:
Name Flags
meetOrSlice
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 6
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
1: aload 0
iconst_1
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
protected abstract void setAttributeValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.w3c.dom.DOMException
MethodParameters:
Name Flags
value
protected abstract org.w3c.dom.DOMException createDOMException(short, java.lang.String, java.lang.Object[]);
descriptor: (SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
type
key
args
protected void setValueAsString(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler
dup
invokespecial org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler.<init>:()V
astore 2
start local 2 1: new org.apache.batik.parser.PreserveAspectRatioParser
dup
invokespecial org.apache.batik.parser.PreserveAspectRatioParser.<init>:()V
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.apache.batik.parser.PreserveAspectRatioParser.setPreserveAspectRatioHandler:(Lorg/apache/batik/parser/PreserveAspectRatioHandler;)V
3: aload 3
aload 1
invokevirtual org.apache.batik.parser.PreserveAspectRatioParser.parse:(Ljava/lang/String;)V
4: aload 0
aload 2
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler.getAlign:()S
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
5: aload 0
aload 2
invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler.getMeetOrSlice:()S
putfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
end local 3 6: goto 12
StackMap locals: org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio java.lang.String org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler
StackMap stack: org.apache.batik.parser.ParseException
7: pop
8: aload 0
9: bipush 13
ldc "preserve.aspect.ratio"
10: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
11: invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
0 13 1 value Ljava/lang/String;
1 13 2 ph Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler;
2 6 3 p Lorg/apache/batik/parser/PreserveAspectRatioParser;
Exception table:
from to target type
1 6 7 Class org.apache.batik.parser.ParseException
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=7, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
iconst_1
if_icmplt 1
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
bipush 10
if_icmple 6
1: StackMap locals:
StackMap stack:
aload 0
2: bipush 13
3: ldc "preserve.aspect.ratio.align"
4: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
5: invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
6: StackMap locals:
StackMap stack:
getstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.ALIGN_VALUES:[Ljava/lang/String;
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
aaload
astore 1
start local 1 7: aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.align:S
iconst_1
if_icmpne 9
8: aload 1
areturn
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
iconst_1
if_icmplt 10
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
iconst_2
if_icmple 15
10: StackMap locals:
StackMap stack:
aload 0
11: bipush 13
12: ldc "preserve.aspect.ratio.meet.or.slice"
13: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
14: invokevirtual org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.createDOMException:(SLjava/lang/String;[Ljava/lang/Object;)Lorg/w3c/dom/DOMException;
athrow
15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
getstatic org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.MEET_OR_SLICE_VALUES:[Ljava/lang/String;
aload 0
getfield org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio.meetOrSlice:S
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/batik/dom/svg/AbstractSVGPreserveAspectRatio;
7 16 1 value Ljava/lang/String;
}
SourceFile: "AbstractSVGPreserveAspectRatio.java"
NestMembers:
org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler
InnerClasses:
protected PreserveAspectRatioParserHandler = org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio$PreserveAspectRatioParserHandler of org.apache.batik.dom.svg.AbstractSVGPreserveAspectRatio