SAXResult.LexicalHandler Property

Definition

Get a SAX2 org.xml.sax.ext.LexicalHandler for the output. -or- Set the SAX2 org.xml.sax.ext.LexicalHandler for the output.

public virtual Org.Xml.Sax.Ext.ILexicalHandler? LexicalHandler { [Android.Runtime.Register("getLexicalHandler", "()Lorg/xml/sax/ext/LexicalHandler;", "GetGetLexicalHandlerHandler")] get; [Android.Runtime.Register("setLexicalHandler", "(Lorg/xml/sax/ext/LexicalHandler;)V", "GetSetLexicalHandler_Lorg_xml_sax_ext_LexicalHandler_Handler")] set; }
[<get: Android.Runtime.Register("getLexicalHandler", "()Lorg/xml/sax/ext/LexicalHandler;", "GetGetLexicalHandlerHandler")>]
[<set: Android.Runtime.Register("setLexicalHandler", "(Lorg/xml/sax/ext/LexicalHandler;)V", "GetSetLexicalHandler_Lorg_xml_sax_ext_LexicalHandler_Handler")>]
member this.LexicalHandler : Org.Xml.Sax.Ext.ILexicalHandler with get, set

Property Value

A LexicalHandler, or null.

Attributes

Remarks

Property getter documentation:

Get a SAX2 org.xml.sax.ext.LexicalHandler for the output.

Java documentation for javax.xml.transform.sax.SAXResult.getLexicalHandler().

Property setter documentation:

Set the SAX2 org.xml.sax.ext.LexicalHandler for the output.

This is needed to handle XML comments and the like. If the lexical handler is not set, an attempt should be made by the transformer to cast the org.xml.sax.ContentHandler to a LexicalHandler.

Java documentation for javax.xml.transform.sax.SAXResult.setLexicalHandler(org.xml.sax.ext.LexicalHandler).

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