コード例 #1
0
ファイル: PrintStream.cs プロジェクト: shannah/CN1WindowsPort
public void @this(global::java.io.OutputStream n1, bool n2, global::java.lang.String n3){
//XMLVM_BEGIN_WRAPPER[java.io.PrintStream: void <init>(java.io.OutputStream, boolean, java.lang.String)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r3_o = n1;
    _r4.i = n2 ? 1 : 0;
    _r5_o = n3;
    ((global::java.io.FilterOutputStream) _r2_o).@this((global::java.io.OutputStream) _r3_o);
    // Value=\012
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)10))}));
    ((global::java.io.PrintStream) _r2_o)._flineSeparator = (global::java.lang.String) _r1_o;
    if (_r3_o == null) goto label11;
    if (_r5_o != null) goto label17;
    label11:;
    _r1_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r1_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r1_o);
    label17:;
    ((global::java.io.PrintStream) _r2_o)._fautoflush = 0!=_r4.i;
    try {
    _r1.i = global::java.nio.charset.Charset.isSupported((global::java.lang.String) _r5_o) ? 1 : 0;
    if (_r1.i != 0) goto label39;
    _r1_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r1_o).@this((global::java.lang.String) _r5_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r1_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.nio.charset.IllegalCharsetNameException) {
            _ex = ex;
            goto label31;
        }
        throw ex;
    } // end catch
    label31:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r0_o = _r1_o;
    _r1_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r1_o).@this((global::java.lang.String) _r5_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r1_o);
    label39:;
    ((global::java.io.PrintStream) _r2_o)._fencoding = (global::java.lang.String) _r5_o;
    return;
//XMLVM_END_WRAPPER[java.io.PrintStream: void <init>(java.io.OutputStream, boolean, java.lang.String)]
}
コード例 #2
0
public void @this(global::java.io.OutputStream n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[java.io.OutputStreamWriter: void <init>(java.io.OutputStream, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r3_o = n1;
    _r4_o = n2;
    ((global::java.io.Writer) _r2_o).@this((global::java.lang.Object) _r3_o);
    _r0.i = 8192;
    _r0_o = global::java.nio.ByteBuffer.allocate((int) _r0.i);
    ((global::java.io.OutputStreamWriter) _r2_o)._fbytes = (global::java.nio.ByteBuffer) _r0_o;
    _r0.i = 0;
    ((global::java.io.OutputStreamWriter) _r2_o)._fencoderFlush = 0!=_r0.i;
    if (_r4_o != null) goto label22;
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label22:;
    ((global::java.io.OutputStreamWriter) _r2_o)._fout = (global::java.io.OutputStream) _r3_o;
    try {
    _r0_o = global::java.nio.charset.Charset.forName((global::java.lang.String) _r4_o);
    _r0_o = ((global::java.nio.charset.Charset) _r0_o).newEncoder();
    ((global::java.io.OutputStreamWriter) _r2_o)._fencoder = (global::java.nio.charset.CharsetEncoder) _r0_o;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Exception) {
            _ex = ex;
            goto label49;
        }
        throw ex;
    } // end catch
    _r0_o = ((global::java.io.OutputStreamWriter) _r2_o)._fencoder;
    _r1_o = global::java.nio.charset.CodingErrorAction._fREPLACE;
    ((global::java.nio.charset.CharsetEncoder) _r0_o).onMalformedInput((global::java.nio.charset.CodingErrorAction) _r1_o);
    _r0_o = ((global::java.io.OutputStreamWriter) _r2_o)._fencoder;
    _r1_o = global::java.nio.charset.CodingErrorAction._fREPLACE;
    ((global::java.nio.charset.CharsetEncoder) _r0_o).onUnmappableCharacter((global::java.nio.charset.CodingErrorAction) _r1_o);
    return;
    label49:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    _r0_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r0_o).@this((global::java.lang.String) _r4_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r0_o);
//XMLVM_END_WRAPPER[java.io.OutputStreamWriter: void <init>(java.io.OutputStream, java.lang.String)]
}
コード例 #3
0
ファイル: PrintStream.cs プロジェクト: shannah/CN1WindowsPort
public void @this(global::java.io.File n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[java.io.PrintStream: void <init>(java.io.File, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    _r1_o = this;
    _r2_o = n1;
    _r3_o = n2;
    _r0_o = new global::java.io.FileOutputStream();
    ((global::java.io.FileOutputStream) _r0_o).@this((global::java.io.File) _r2_o);
    ((global::java.io.FilterOutputStream) _r1_o).@this((global::java.io.OutputStream) _r0_o);
    // Value=\012
    _r0_o = new global::java.lang.String();
    ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)10))}));
    ((global::java.io.PrintStream) _r1_o)._flineSeparator = (global::java.lang.String) _r0_o;
    if (_r3_o != null) goto label20;
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label20:;
    _r0.i = global::java.nio.charset.Charset.isSupported((global::java.lang.String) _r3_o) ? 1 : 0;
    if (_r0.i != 0) goto label32;
    _r0_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r0_o).@this((global::java.lang.String) _r3_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r0_o);
    label32:;
    ((global::java.io.PrintStream) _r1_o)._fencoding = (global::java.lang.String) _r3_o;
    return;
//XMLVM_END_WRAPPER[java.io.PrintStream: void <init>(java.io.File, java.lang.String)]
}
コード例 #4
0
ファイル: XmlParser.cs プロジェクト: shannah/CN1WindowsPort
private void setupDecoding(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[gnu.xml.aelfred2.XmlParser: void setupDecoding(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r7_o = null;
    global::System.Object _r8_o = null;
    _r7_o = this;
    _r8_o = n1;
    _r6.i = 5;
    _r5.i = 4;
    _r4.i = 3;
    _r2.i = 1;
    // Value=UTF-16
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r0_o = ((global::java.lang.String) _r8_o).toUpperCase();
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i == _r2.i) goto label18;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i != 0) goto label96;
    label18:;
    // Value=ISO-8859-1
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 53)), unchecked((char) unchecked((uint) 57)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label42;
    // Value=8859_1
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)56)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 53)), unchecked((char) unchecked((uint) 57)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 49))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label42;
    // Value=ISO8859_1
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 56)), unchecked((char) unchecked((uint) 53)), unchecked((char) unchecked((uint) 57)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 49))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label46;
    label42:;
    _r0.i = 2;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding = _r0.i;
    label45:;
    return;
    label46:;
    // Value=US-ASCII
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 73)), unchecked((char) unchecked((uint) 73))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label62;
    // Value=ASCII
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)65)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 73)), unchecked((char) unchecked((uint) 73))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label67;
    label62:;
    _r0.i = 9;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding = _r0.i;
    goto label45;
    label67:;
    // Value=UTF-8
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label83;
    // Value=UTF8
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 56))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label86;
    label83:;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding = _r2.i;
    goto label45;
    label86:;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i == 0) goto label96;
    _r1_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r1_o).@this((global::java.lang.String) _r0_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r1_o);
    label96:;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i == _r4.i) goto label104;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i != _r5.i) goto label144;
    label104:;
    // Value=ISO-10646-UCS-2
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 50))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label45;
    // Value=UTF-16
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r3_o) ? 1 : 0;
    if (_r1.i != 0) goto label45;
    // Value=UTF-16BE
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 69))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label45;
    // Value=UTF-16LE
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 69))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label45;
    // Value=unsupported Unicode encoding
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))}));
    // Value=UTF-16
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o).error((global::java.lang.String) _r1_o, (global::java.lang.String) _r0_o, (global::java.lang.String) _r3_o);
    goto label45;
    label144:;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    if (_r1.i == _r6.i) goto label164;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    _r2.i = 6;
    if (_r1.i == _r2.i) goto label164;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    _r2.i = 7;
    if (_r1.i == _r2.i) goto label164;
    _r1.i = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding;
    _r2.i = 8;
    if (_r1.i != _r2.i) goto label181;
    label164:;
    // Value=ISO-10646-UCS-4
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 52))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label45;
    // Value=unsupported 32-bit encoding
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 51)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))}));
    // Value=ISO-10646-UCS-4
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 52))}));
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o).error((global::java.lang.String) _r1_o, (global::java.lang.String) _r0_o, (global::java.lang.String) _r2_o);
    goto label45;
    label181:;
    // Value=UTF-16BE
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 69))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label193;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding = _r4.i;
    goto label45;
    label193:;
    // Value=UTF-16LE
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 69))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label205;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fencoding = _r5.i;
    goto label45;
    label205:;
    // Value=UTF-16
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r3_o) ? 1 : 0;
    if (_r1.i != 0) goto label221;
    // Value=ISO-10646-UCS-2
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)73)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 79)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 50))}));
    _r1.i = ((global::java.lang.String) _r0_o).equals((global::java.lang.Object) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label223;
    label221:;
    // Value=Unicode
    _r0_o = new global::java.lang.String();
    ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101))}));
    label223:;
    _r1_o = new global::java.io.InputStreamReader();
    _r2_o = ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fis;
    ((global::java.io.InputStreamReader) _r1_o).@this((global::java.io.InputStream) _r2_o, (global::java.lang.String) _r0_o);
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._freader = (global::java.io.Reader) _r1_o;
    ((global::gnu.xml.aelfred2.XmlParser) _r7_o)._fsourceType = _r6.i;
    goto label45;
//XMLVM_END_WRAPPER[gnu.xml.aelfred2.XmlParser: void setupDecoding(java.lang.String)]
}
コード例 #5
0
ファイル: String.cs プロジェクト: shannah/CN1WindowsPort
private global::System.Object getCharset(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[java.lang.String: java.nio.charset.Charset getCharset(java.lang.String)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r3_o = this;
    _r4_o = n1;
    _r0_o = global::java.lang.String._flastCharset;
    if (_r0_o == null) goto label14;
    _r2_o = ((global::java.nio.charset.Charset) _r0_o).name();
    _r2.i = ((global::java.lang.String) _r4_o).equalsIgnoreCase((global::java.lang.String) _r2_o) ? 1 : 0;
    if (_r2.i != 0) goto label20;
    label14:;
    try {
    _r0_o = global::java.nio.charset.Charset.forName((global::java.lang.String) _r4_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.nio.charset.IllegalCharsetNameException) {
            _ex = ex;
            goto label21;
        }
        if (_java_exception is global::java.nio.charset.UnsupportedCharsetException) {
            _ex = ex;
            goto label36;
        }
        throw ex;
    } // end catch
    global::java.lang.String._flastCharset = (global::java.nio.charset.Charset) _r0_o;
    label20:;
    return (global::java.nio.charset.Charset) _r0_o;
    label21:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r2_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r2_o).@this((global::java.lang.String) _r4_o);
    _r3_o = ((global::java.io.UnsupportedEncodingException) _r2_o).initCause((global::java.lang.Throwable) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r3_o);
    label36:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r2_o = new global::java.io.UnsupportedEncodingException();
    ((global::java.io.UnsupportedEncodingException) _r2_o).@this((global::java.lang.String) _r4_o);
    _r3_o = ((global::java.io.UnsupportedEncodingException) _r2_o).initCause((global::java.lang.Throwable) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r3_o);
//XMLVM_END_WRAPPER[java.lang.String: java.nio.charset.Charset getCharset(java.lang.String)]
}
コード例 #6
0
public virtual void setInputEncoding(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[gnu.xml.stream.XMLParser$Input: void setInputEncoding(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    _r3_o = this;
    _r4_o = n1;
    // Value=UTF-16
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r0_o = ((global::gnu.xml.stream.XMLParser_2Input) _r3_o)._finputEncoding;
    _r0.i = ((global::java.lang.String) _r4_o).equals((global::java.lang.Object) _r0_o) ? 1 : 0;
    if (_r0.i == 0) goto label11;
    label10:;
    return;
    label11:;
    // Value=UTF-16
    _r0_o = new global::java.lang.String();
    ((global::java.lang.String)_r0_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r0.i = ((global::java.lang.String) _r2_o).equalsIgnoreCase((global::java.lang.String) _r4_o) ? 1 : 0;
    if (_r0.i == 0) goto label29;
    _r0_o = ((global::gnu.xml.stream.XMLParser_2Input) _r3_o)._finputEncoding;
    // Value=UTF-16
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54))}));
    _r0.i = ((global::java.lang.String) _r0_o).startsWith((global::java.lang.String) _r2_o) ? 1 : 0;
    if (_r0.i != 0) goto label10;
    label29:;
    _r0.i = ((global::gnu.xml.stream.XMLParser_2Input) _r3_o)._fencodingDetected ? 1 : 0;
    if (_r0.i == 0) goto label70;
    _r0_o = new global::java.io.UnsupportedEncodingException();
    _r1_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r1_o).@this();
    // Value=document is not in its declared encoding 
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)100)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r3_o)._finputEncoding;
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    // Value=: 
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)58)), unchecked((char) unchecked((uint) 32))}));
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r2_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).append((global::java.lang.String) _r4_o);
    _r1_o = ((global::java.lang.StringBuilder) _r1_o).toString();
    ((global::java.io.UnsupportedEncodingException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r0_o);
    label70:;
    ((global::gnu.xml.stream.XMLParser_2Input) _r3_o)._finputEncoding = (global::java.lang.String) _r4_o;
    ((global::gnu.xml.stream.XMLParser_2Input) _r3_o).finalizeEncoding();
    goto label10;
//XMLVM_END_WRAPPER[gnu.xml.stream.XMLParser$Input: void setInputEncoding(java.lang.String)]
}
コード例 #7
0
private void detectEncoding(){
//XMLVM_BEGIN_WRAPPER[gnu.xml.stream.XMLParser$Input: void detectEncoding()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    _r6_o = this;
    _r4.i = 4;
    _r3.i = 1;
    // Value=no byte-order mark for UCS-2 entity
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121))}));
    _r1_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r4.i]);
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).mark((int) _r4.i);
    _r0.i = 0;
    label12:;
    if (_r0.i >= _r4.i) goto label25;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    _r2.i = ((global::java.io.InputStream) _r2_o).read();
    ((global::org.xmlvm._nArrayAdapter<int>) _r1_o)[_r0.i] = _r2.i;
    _r0.i = _r0.i + 1;
    goto label12;
    label25:;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).reset();
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_14_11234;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label66;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    // Value=UTF-32BE
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 51)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 69))}));
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o).setInputEncoding((global::java.lang.String) _r2_o);
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fencodingDetected = 0!=_r3.i;
    label65:;
    return;
    label66:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_14_14321;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label102;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    // Value=UTF-32LE
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 51)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 69))}));
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o).setInputEncoding((global::java.lang.String) _r2_o);
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fencodingDetected = 0!=_r3.i;
    goto label65;
    label102:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_14_12143;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i != 0) goto label118;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_14_13412;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label126;
    label118:;
    _r2_o = new global::java.io.UnsupportedEncodingException();
    // Value=unsupported UCS-4 byte ordering
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 52)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))}));
    ((global::java.io.UnsupportedEncodingException) _r2_o).@this((global::java.lang.String) _r3_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r2_o);
    label126:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_12_112;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label152;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    // Value=UTF-16BE
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 66)), unchecked((char) unchecked((uint) 69))}));
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o).setInputEncoding((global::java.lang.String) _r2_o);
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fencodingDetected = 0!=_r3.i;
    goto label65;
    label152:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_12_121;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label178;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    // Value=UTF-16LE
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 54)), unchecked((char) unchecked((uint) 76)), unchecked((char) unchecked((uint) 69))}));
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o).setInputEncoding((global::java.lang.String) _r2_o);
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fencodingDetected = 0!=_r3.i;
    goto label65;
    label178:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_12_112_1NOBOM;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label194;
    _r2_o = new global::java.io.UnsupportedEncodingException();
    // Value=no byte-order mark for UCS-2 entity
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121))}));
    ((global::java.io.UnsupportedEncodingException) _r2_o).@this((global::java.lang.String) _r5_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r2_o);
    label194:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UCS_12_121_1NOBOM;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label210;
    _r2_o = new global::java.io.UnsupportedEncodingException();
    // Value=no byte-order mark for UCS-2 entity
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 67)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 50)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 121))}));
    ((global::java.io.UnsupportedEncodingException) _r2_o).@this((global::java.lang.String) _r5_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.UnsupportedEncodingException) _r2_o);
    label210:;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UTF_18;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i != 0) goto label65;
    _r2_o = global::gnu.xml.stream.XMLParser_2Input._fSIGNATURE_1UTF_18_1BOM;
    _r2.i = global::gnu.xml.stream.XMLParser_2Input.equals((global::org.xmlvm._nArrayAdapter<int>) _r2_o, (global::org.xmlvm._nArrayAdapter<int>) _r1_o) ? 1 : 0;
    if (_r2.i == 0) goto label65;
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    _r2_o = ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fin;
    ((global::java.io.InputStream) _r2_o).read();
    // Value=UTF-8
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o).setInputEncoding((global::java.lang.String) _r2_o);
    ((global::gnu.xml.stream.XMLParser_2Input) _r6_o)._fencodingDetected = 0!=_r3.i;
    goto label65;
//XMLVM_END_WRAPPER[gnu.xml.stream.XMLParser$Input: void detectEncoding()]
}