public class com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser
  super_class: java.lang.Object
{
  private java.lang.String m_encoding;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.io.PushbackReader m_pushbackReader;
    descriptor: Ljava/io/PushbackReader;
    flags: (0x0002) ACC_PRIVATE

  private boolean m_hasHeader;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String xmlDecl;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  static java.lang.String gt16;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static java.lang.String utf16Decl;
    descriptor: Ljava/lang/String;
    flags: (0x0008) ACC_STATIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 45
            aconst_null
            putstatic com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.gt16:Ljava/lang/String;
         1: .line 46
            aconst_null
            putstatic com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.utf16Decl:Ljava/lang/String;
         2: .line 49
            new java.lang.String
            dup
            ldc ">"
            ldc "utf-16"
            invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
            invokespecial java.lang.String.<init>:([B)V
            putstatic com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.gt16:Ljava/lang/String;
         3: .line 50
            new java.lang.String
            dup
            ldc "<?xml"
            ldc "utf-16"
            invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
            invokespecial java.lang.String.<init>:([B)V
            putstatic com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.utf16Decl:Ljava/lang/String;
         4: .line 51
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: pop
         6: .line 52
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
      Exception table:
        from    to  target  type
           2     4       5  Class java.lang.Exception

  public void <init>(java.io.PushbackReader);
    descriptor: (Ljava/io/PushbackReader;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
        start local 1 // java.io.PushbackReader pr
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 44
            aload 0 /* this */
            aconst_null
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
         2: .line 58
            aload 0 /* this */
            aload 1 /* pr */
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_pushbackReader:Ljava/io/PushbackReader;
         3: .line 59
            aload 0 /* this */
            ldc "utf-8"
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
         4: .line 60
            aload 0 /* this */
            iconst_0
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_hasHeader:Z
         5: .line 61
            return
        end local 1 // java.io.PushbackReader pr
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;
            0    6     1    pr  Ljava/io/PushbackReader;
    MethodParameters:
      Name  Flags
      pr    

  public java.lang.String getEncoding();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
         0: .line 66
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            areturn
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;

  public java.lang.String getXmlDeclaration();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
         0: .line 70
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            areturn
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;

  public void parse();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
         0: .line 77
            iconst_0
            istore 1 /* c */
        start local 1 // int c
         1: .line 78
            iconst_0
            istore 2 /* index */
        start local 2 // int index
         2: .line 79
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            astore 3 /* xmlDeclStr */
        start local 3 // java.lang.StringBuilder xmlDeclStr
         3: .line 80
            goto 8
         4: .line 81
      StackMap locals: int int java.lang.StringBuilder
      StackMap stack:
            aload 3 /* xmlDeclStr */
            iload 1 /* c */
            i2c
            invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
            pop
         5: .line 82
            iinc 2 /* index */ 1
         6: .line 83
            iload 1 /* c */
            bipush 62
            if_icmpne 8
         7: .line 84
            goto 9
         8: .line 80
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_pushbackReader:Ljava/io/PushbackReader;
            invokevirtual java.io.PushbackReader.read:()I
            dup
            istore 1 /* c */
            iconst_m1
            if_icmpne 4
         9: .line 87
      StackMap locals:
      StackMap stack:
            iload 2 /* index */
            istore 4 /* len */
        start local 4 // int len
        10: .line 89
            aload 3 /* xmlDeclStr */
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 5 /* decl */
        start local 5 // java.lang.String decl
        11: .line 90
            iconst_0
            istore 6 /* utf16 */
        start local 6 // boolean utf16
        12: .line 91
            iconst_0
            istore 7 /* utf8 */
        start local 7 // boolean utf8
        13: .line 93
            aload 5 /* decl */
            getstatic com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.utf16Decl:Ljava/lang/String;
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 8 /* xmlIndex */
        start local 8 // int xmlIndex
        14: .line 94
            iload 8 /* xmlIndex */
            iconst_m1
            if_icmple 17
        15: .line 95
            iconst_1
            istore 6 /* utf16 */
        16: .line 96
            goto 20
        17: .line 97
      StackMap locals: com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser int int java.lang.StringBuilder int java.lang.String int int int
      StackMap stack:
            aload 5 /* decl */
            ldc "<?xml"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 8 /* xmlIndex */
        18: .line 98
            iload 8 /* xmlIndex */
            iconst_m1
            if_icmple 20
        19: .line 99
            iconst_1
            istore 7 /* utf8 */
        20: .line 104
      StackMap locals:
      StackMap stack:
            iload 6 /* utf16 */
            ifne 23
            iload 7 /* utf8 */
            ifne 23
        21: .line 105
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_pushbackReader:Ljava/io/PushbackReader;
            aload 5 /* decl */
            invokevirtual java.lang.String.toCharArray:()[C
            iconst_0
            iload 4 /* len */
            invokevirtual java.io.PushbackReader.unread:([CII)V
        22: .line 106
            return
        23: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_hasHeader:Z
        24: .line 110
            iload 6 /* utf16 */
            ifeq 28
        25: .line 111
            aload 0 /* this */
            new java.lang.String
            dup
            aload 5 /* decl */
            invokevirtual java.lang.String.getBytes:()[B
            ldc "utf-16"
            invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
        26: .line 112
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            ldc "<"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
        27: .line 113
            goto 29
        28: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 5 /* decl */
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
        29: .line 117
      StackMap locals:
      StackMap stack:
            iload 8 /* xmlIndex */
            ifeq 31
        30: .line 118
            new java.io.IOException
            dup
            ldc "Unexpected characters before XML declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        31: .line 121
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            ldc "version"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 9 /* versionIndex */
        start local 9 // int versionIndex
        32: .line 122
            iload 9 /* versionIndex */
            iconst_m1
            if_icmpne 34
        33: .line 123
            new java.io.IOException
            dup
            ldc "Mandatory 'version' attribute Missing in XML declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        34: .line 127
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            ldc "encoding"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 10 /* encodingIndex */
        start local 10 // int encodingIndex
        35: .line 128
            iload 10 /* encodingIndex */
            iconst_m1
            if_icmpne 37
        36: .line 129
            return
        37: .line 132
      StackMap locals: int
      StackMap stack:
            iload 9 /* versionIndex */
            iload 10 /* encodingIndex */
            if_icmple 39
        38: .line 133
            new java.io.IOException
            dup
            ldc "The 'version' attribute should preceed the 'encoding' attribute in an XML Declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        39: .line 136
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            ldc "standalone"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 11 /* stdAloneIndex */
        start local 11 // int stdAloneIndex
        40: .line 137
            iload 11 /* stdAloneIndex */
            iconst_m1
            if_icmple 42
            iload 11 /* stdAloneIndex */
            iload 9 /* versionIndex */
            if_icmplt 41
            iload 11 /* stdAloneIndex */
            iload 10 /* encodingIndex */
            if_icmpge 42
        41: .line 138
      StackMap locals: int
      StackMap stack:
            new java.io.IOException
            dup
            ldc "The 'standalone' attribute should be the last attribute in an XML Declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        42: .line 141
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            ldc "="
            iload 10 /* encodingIndex */
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
            istore 12 /* eqIndex */
        start local 12 // int eqIndex
        43: .line 142
            iload 12 /* eqIndex */
            iconst_m1
            if_icmpne 45
        44: .line 143
            new java.io.IOException
            dup
            ldc "Missing '=' character after 'encoding' in XML declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        45: .line 146
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            iload 12 /* eqIndex */
            invokevirtual com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.parseEncoding:(Ljava/lang/String;I)Ljava/lang/String;
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
        46: .line 147
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "\""
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 49
        47: .line 148
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "\""
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            iconst_1
            iadd
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "\""
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
        48: .line 149
            goto 51
      StackMap locals:
      StackMap stack:
        49: aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "'"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 51
        50: .line 150
            aload 0 /* this */
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "'"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            iconst_1
            iadd
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
            ldc "'"
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            putfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_encoding:Ljava/lang/String;
        51: .line 152
      StackMap locals:
      StackMap stack:
            return
        end local 12 // int eqIndex
        end local 11 // int stdAloneIndex
        end local 10 // int encodingIndex
        end local 9 // int versionIndex
        end local 8 // int xmlIndex
        end local 7 // boolean utf8
        end local 6 // boolean utf16
        end local 5 // java.lang.String decl
        end local 4 // int len
        end local 3 // java.lang.StringBuilder xmlDeclStr
        end local 2 // int index
        end local 1 // int c
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   52     0           this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;
            1   52     1              c  I
            2   52     2          index  I
            3   52     3     xmlDeclStr  Ljava/lang/StringBuilder;
           10   52     4            len  I
           11   52     5           decl  Ljava/lang/String;
           12   52     6          utf16  Z
           13   52     7           utf8  Z
           14   52     8       xmlIndex  I
           32   52     9   versionIndex  I
           35   52    10  encodingIndex  I
           40   52    11  stdAloneIndex  I
           43   52    12        eqIndex  I
    Exceptions:
      throws javax.xml.transform.TransformerException, java.io.IOException

  public void writeTo(java.io.Writer);
    descriptor: (Ljava/io/Writer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
        start local 1 // java.io.Writer wr
         0: .line 157
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.m_hasHeader:Z
            ifne 1
            return
         1: .line 158
      StackMap locals:
      StackMap stack:
            aload 1 /* wr */
            aload 0 /* this */
            getfield com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser.xmlDecl:Ljava/lang/String;
            invokevirtual java.lang.String.toString:()Ljava/lang/String;
            invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
         2: .line 159
            return
        end local 1 // java.io.Writer wr
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;
            0    3     1    wr  Ljava/io/Writer;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      wr    

  private java.lang.String parseEncoding(java.lang.String, int);
    descriptor: (Ljava/lang/String;I)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
        start local 1 // java.lang.String xmlDeclFinal
        start local 2 // int eqIndex
         0: .line 162
            new java.util.StringTokenizer
            dup
         1: .line 163
            aload 1 /* xmlDeclFinal */
            iload 2 /* eqIndex */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
         2: .line 162
            invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
            astore 3 /* strTok */
        start local 3 // java.util.StringTokenizer strTok
         3: .line 164
            aload 3 /* strTok */
            invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
            ifeq 9
         4: .line 165
            aload 3 /* strTok */
            invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
            astore 4 /* encodingTok */
        start local 4 // java.lang.String encodingTok
         5: .line 166
            aload 4 /* encodingTok */
            ldc "?"
            invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
            istore 5 /* indexofQ */
        start local 5 // int indexofQ
         6: .line 167
            iload 5 /* indexofQ */
            iconst_m1
            if_icmple 8
         7: .line 168
            aload 4 /* encodingTok */
            iconst_0
            iload 5 /* indexofQ */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
         8: .line 170
      StackMap locals: java.util.StringTokenizer java.lang.String int
      StackMap stack:
            aload 4 /* encodingTok */
            areturn
        end local 5 // int indexofQ
        end local 4 // java.lang.String encodingTok
         9: .line 173
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            ldc "Error parsing 'encoding' attribute in XML declaration"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.util.StringTokenizer strTok
        end local 2 // int eqIndex
        end local 1 // java.lang.String xmlDeclFinal
        end local 0 // com.sun.xml.internal.messaging.saaj.util.XMLDeclarationParser this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lcom/sun/xml/internal/messaging/saaj/util/XMLDeclarationParser;
            0   10     1  xmlDeclFinal  Ljava/lang/String;
            0   10     2       eqIndex  I
            3   10     3        strTok  Ljava/util/StringTokenizer;
            5    9     4   encodingTok  Ljava/lang/String;
            6    9     5      indexofQ  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      xmlDeclFinal  
      eqIndex       
}
SourceFile: "XMLDeclarationParser.java"