다음을 통해 공유


IDocumentHandler.IgnorableWhitespace(Char[], Int32, Int32) Method

Definition

Caution

deprecated

Receive notification of ignorable whitespace in element content.

[Android.Runtime.Register("ignorableWhitespace", "([CII)V", "GetIgnorableWhitespace_arrayCIIHandler:Org.Xml.Sax.IDocumentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void IgnorableWhitespace (char[]? ch, int start, int length);
[<Android.Runtime.Register("ignorableWhitespace", "([CII)V", "GetIgnorableWhitespace_arrayCIIHandler:Org.Xml.Sax.IDocumentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member IgnorableWhitespace : char[] * int * int -> unit

Parameters

ch
Char[]

The characters from the XML document.

start
Int32

The start position in the array.

length
Int32

The number of characters to read from the array.

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of ignorable whitespace in element content.

Validating Parsers must use this method to report each chunk of ignorable whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models.

SAX parsers may return all contiguous whitespace in a single chunk, or they may split it into several chunks; however, all of the characters in any single event must come from the same external entity, so that the Locator provides useful information.

The application must not attempt to read from the array outside of the specified range.

Java documentation for org.xml.sax.DocumentHandler.ignorableWhitespace(char[], int, int).

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

See also

  • <xref:Org.Xml.Sax.IDocumentHandler.Characters(System.Char%5b%5d%2c+System.Int32%2c+System.Int32)>