次の方法で共有


IXmlPullParser.Next Method

Definition

Get next parsing event - element content will be coalesced and only one TEXT event must be returned for whole element content (comments and processing instructions will be ignored and entity references must be expanded or exception must be thrown if entity reference can not be expanded).

[Android.Runtime.Register("next", "()I", "GetNextHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.XmlPull.V1.XmlPullParserNode Next ();
[<Android.Runtime.Register("next", "()I", "GetNextHandler:Org.XmlPull.V1.IXmlPullParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Next : unit -> Org.XmlPull.V1.XmlPullParserNode

Returns

Attributes

Exceptions

Remarks

Get next parsing event - element content will be coalesced and only one TEXT event must be returned for whole element content (comments and processing instructions will be ignored and entity references must be expanded or exception must be thrown if entity reference can not be expanded). If element content is empty (content is "") then no TEXT event will be reported.

<b>NOTE:</b> empty element (such as &lt;tag/>) will be reported with two separate events: START_TAG, END_TAG - it must be so to preserve parsing equivalency of empty element to &lt;tag>&lt;/tag>. (see isEmptyElementTag ())

Java documentation for org.xmlpull.v1.XmlPullParser.next().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to