Beispiel #1
0
public virtual global::System.Object getFeature(global::java.lang.String n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[gnu.xml.dom.DomImpl: java.lang.Object getFeature(java.lang.String, 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.i = ((global::gnu.xml.dom.DomImpl) _r1_o).hasFeature((global::java.lang.String) _r2_o, (global::java.lang.String) _r3_o) ? 1 : 0;
    if (_r0.i == 0) goto label30;
    // Value=html
    _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)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108))}));
    _r0.i = ((global::java.lang.String) _r0_o).equalsIgnoreCase((global::java.lang.String) _r2_o) ? 1 : 0;
    if (_r0.i != 0) goto label22;
    // Value=xhtml
    _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)120)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108))}));
    _r0.i = ((global::java.lang.String) _r0_o).equalsIgnoreCase((global::java.lang.String) _r2_o) ? 1 : 0;
    if (_r0.i == 0) goto label28;
    label22:;
    _r0_o = new global::gnu.xml.dom.html2.DomHTMLImpl();
    ((global::gnu.xml.dom.html2.DomHTMLImpl) _r0_o).@this();
    label27:;
    return (global::java.lang.Object) _r0_o;
    label28:;
    _r0_o = _r1_o;
    goto label27;
    label30:;
    _r0_o = null;
    goto label27;
//XMLVM_END_WRAPPER[gnu.xml.dom.DomImpl: java.lang.Object getFeature(java.lang.String, java.lang.String)]
}
new public void @this(){
//XMLVM_BEGIN_WRAPPER[gnu.xml.dom.html2.DomHTMLDocument: void <init>()]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    _r1_o = this;
    _r0_o = new global::gnu.xml.dom.html2.DomHTMLImpl();
    ((global::gnu.xml.dom.html2.DomHTMLImpl) _r0_o).@this();
    ((global::gnu.xml.dom.html2.DomHTMLDocument) _r1_o).@this((global::gnu.xml.dom.html2.DomHTMLImpl) _r0_o);
    return;
//XMLVM_END_WRAPPER[gnu.xml.dom.html2.DomHTMLDocument: void <init>()]
}