Javax.Xml.Validation.ValidatorHandler.ContentHandler Property
Gets the Org.Xml.Sax.IContentHandler which receives the augmented validation result.

Syntax

[get: Android.Runtime.Register("getContentHandler", "()Lorg/xml/sax/ContentHandler;", "GetGetContentHandlerHandler")]
[set: Android.Runtime.Register("setContentHandler", "(Lorg/xml/sax/ContentHandler;)V", "GetSetContentHandler_Lorg_xml_sax_ContentHandler_Handler")]
public abstract Org.Xml.Sax.IContentHandler ContentHandler { get; set; }

See Also

ValidatorHandler.ContentHandler

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Gets the Org.Xml.Sax.IContentHandler which receives the augmented validation result.

Set method documentation [Android Documentation]

Sets the Org.Xml.Sax.IContentHandler which receives the augmented validation result. When a Org.Xml.Sax.IContentHandler is specified, a Javax.Xml.Validation.ValidatorHandler will work as a filter and basically copy the incoming events to the specified Org.Xml.Sax.IContentHandler. In doing so, a Javax.Xml.Validation.ValidatorHandler may modify the events, for example by adding defaulted attributes. A Javax.Xml.Validation.ValidatorHandler may buffer events to certain extent, but to allow Javax.Xml.Validation.ValidatorHandler to be used by a parser, the following requirement has to be met.

  1. When Org.Xml.Sax.IContentHandler.StartElement(string, System.String, System.String, System.String), Org.Xml.Sax.IContentHandler.EndElement(string, System.String, System.String), Org.Xml.Sax.IContentHandler.StartDocument, or Org.Xml.Sax.IContentHandler.EndDocument are invoked on a Javax.Xml.Validation.ValidatorHandler, the same method on the user-specified Org.Xml.Sax.IContentHandler must be invoked for the same event before the callback returns.
  2. Javax.Xml.Validation.ValidatorHandler may not introduce new elements that were not present in the input.
  3. Javax.Xml.Validation.ValidatorHandler may not remove attributes that were present in the input.
When a callback method on the specified Org.Xml.Sax.IContentHandler throws an exception, the same exception object must be thrown from the Javax.Xml.Validation.ValidatorHandler. The Org.Xml.Sax.IErrorHandler should not be notified of such an exception. This method can be called even during a middle of a validation.

Requirements

Namespace: Javax.Xml.Validation
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8