Condividi tramite


SAXResult.LexicalHandler Proprietà

Definizione

Ottenere un sax2 org.xml.sax.ext.LexicalHandler per l'output. - oppure - Impostare SAX2 org.xml.sax.ext.LexicalHandler per l'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

Valore della proprietà

Oggetto LexicalHandlero Null.

Attributi

Commenti

Documentazione del getter delle proprietà:

Ottenere un sax2 org.xml.sax.ext.LexicalHandler per l'output.

Documentazione java per javax.xml.transform.sax.SAXResult.getLexicalHandler().

Documentazione del setter delle proprietà:

Impostare SAX2 org.xml.sax.ext.LexicalHandler per l'output.

Questa operazione è necessaria per gestire i commenti XML e il tipo. Se il gestore lessicale non è impostato, è necessario eseguire un tentativo da parte del trasformatore di eseguire il cast di org.xml.sax.ContentHandler a un oggetto LexicalHandler.

Documentazione java per javax.xml.transform.sax.SAXResult.setLexicalHandler(org.xml.sax.ext.LexicalHandler).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a