public class com.sun.imageio.plugins.tiff.TIFFStreamMetadata extends javax.imageio.metadata.IIOMetadata
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.tiff.TIFFStreamMetadata
super_class: javax.imageio.metadata.IIOMetadata
{
static final java.lang.String NATIVE_METADATA_FORMAT_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_tiff_stream_1.0"
static final java.lang.String NATIVE_METADATA_FORMAT_CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "javax.imageio.plugins.tiff.TIFFStreamMetadataFormat"
private static final java.lang.String bigEndianString;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String littleEndianString;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public java.nio.ByteOrder byteOrder;
descriptor: Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteOrder.toString:()Ljava/lang/String;
1: putstatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.bigEndianString:Ljava/lang/String;
2: getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteOrder.toString:()Ljava/lang/String;
3: putstatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.littleEndianString:Ljava/lang/String;
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
1: ldc "javax_imageio_tiff_stream_1.0"
2: ldc "javax.imageio.plugins.tiff.TIFFStreamMetadataFormat"
3: aconst_null
aconst_null
invokespecial javax.imageio.metadata.IIOMetadata.<init>:(ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
4: aload 0
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
putfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.byteOrder:Ljava/nio/ByteOrder;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
private static void fatal(org.w3c.dom.Node, java.lang.String);
descriptor: (Lorg/w3c/dom/Node;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new javax.imageio.metadata.IIOInvalidTreeException
dup
aload 1
aload 0
invokespecial javax.imageio.metadata.IIOInvalidTreeException.<init>:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 node Lorg/w3c/dom/Node;
0 1 1 reason Ljava/lang/String;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
reason
public org.w3c.dom.Node getAsTree(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new javax.imageio.metadata.IIOMetadataNode
dup
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.nativeMetadataFormatName:Ljava/lang/String;
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "ByteOrder"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
ldc "value"
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.byteOrder:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteOrder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 2
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
4: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
0 5 1 formatName Ljava/lang/String;
1 5 2 root Ljavax/imageio/metadata/IIOMetadataNode;
2 5 3 byteOrderNode Ljavax/imageio/metadata/IIOMetadataNode;
MethodParameters:
Name Flags
formatName
private void mergeNativeTree(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.nativeMetadataFormatName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 2
new java.lang.StringBuilder
dup
ldc "Root must be "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.nativeMetadataFormatName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getFirstChild:()Lorg/w3c/dom/Node;
astore 2
4: aload 2
ifnull 5
aload 2
invokeinterface org.w3c.dom.Node.getNodeName:()Ljava/lang/String;
ldc "ByteOrder"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
5: StackMap locals:
StackMap stack:
aload 2
ldc "Root must have \"ByteOrder\" child"
invokestatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 7: aload 3
ldc "value"
invokeinterface org.w3c.dom.NamedNodeMap.getNamedItem:(Ljava/lang/String;)Lorg/w3c/dom/Node;
invokeinterface org.w3c.dom.Node.getNodeValue:()Ljava/lang/String;
astore 4
start local 4 8: aload 4
ifnonnull 10
9: aload 2
ldc "ByteOrder node must have a \"value\" attribute"
invokestatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
10: StackMap locals: org.w3c.dom.NamedNodeMap java.lang.String
StackMap stack:
aload 4
getstatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.bigEndianString:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
putfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.byteOrder:Ljava/nio/ByteOrder;
12: goto 17
StackMap locals:
StackMap stack:
13: aload 4
getstatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.littleEndianString:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
putfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.byteOrder:Ljava/nio/ByteOrder;
15: goto 17
16: StackMap locals:
StackMap stack:
aload 2
ldc "Incorrect value for ByteOrder \"value\" attribute"
invokestatic com.sun.imageio.plugins.tiff.TIFFStreamMetadata.fatal:(Lorg/w3c/dom/Node;Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
return
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 Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
0 18 1 root Lorg/w3c/dom/Node;
1 18 2 node Lorg/w3c/dom/Node;
7 18 3 attrs Lorg/w3c/dom/NamedNodeMap;
8 18 4 order Ljava/lang/String;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
root
public void mergeTree(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.nativeMetadataFormatName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
1: aload 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "root == null!"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.imageio.plugins.tiff.TIFFStreamMetadata.mergeNativeTree:(Lorg/w3c/dom/Node;)V
4: goto 6
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Not a recognized format!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
0 7 1 formatName Ljava/lang/String;
0 7 2 root Lorg/w3c/dom/Node;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
formatName
root
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.nio.ByteOrder.BIG_ENDIAN:Ljava/nio/ByteOrder;
putfield com.sun.imageio.plugins.tiff.TIFFStreamMetadata.byteOrder:Ljava/nio/ByteOrder;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/tiff/TIFFStreamMetadata;
}
SourceFile: "TIFFStreamMetadata.java"