internal Parser(XmlBlock _enclosing, android.content.res.XmlBlock.Parser.NativeXmlParser parseState, android.content.res.XmlBlock block) { this._enclosing = _enclosing; mStarted = false; mDecNextDepth = false; mDepth = 0; mEventType = org.xmlpull.v1.XmlPullParserClass.START_DOCUMENT; this.mParseState = parseState; this.mBlock = block; block.mOpenCount++; }
internal android.content.res.XmlBlock openXmlBlockAsset(int cookie, string fileName ) { lock (this) { if (!mOpen) { throw new java.lang.RuntimeException("Assetmanager has been closed"); } android.content.res.XmlBlock.NativeXmlBlock xmlBlock = openXmlAssetNative(cookie, fileName); if (xmlBlock != null) { android.content.res.XmlBlock res = new android.content.res.XmlBlock(this, xmlBlock ); incRefsLocked(res.GetHashCode()); return res; } } throw new java.io.FileNotFoundException("Asset XML file: " + fileName); }