HandlerBase.StartElement(String, IAttributeList) Método

Definição

Cuidado

deprecated

Receber notificação do início de um elemento.

[Android.Runtime.Register("startElement", "(Ljava/lang/String;Lorg/xml/sax/AttributeList;)V", "GetStartElement_Ljava_lang_String_Lorg_xml_sax_AttributeList_Handler")]
[System.Obsolete("deprecated")]
public virtual void StartElement(string? name, Org.Xml.Sax.IAttributeList? attributes);
[<Android.Runtime.Register("startElement", "(Ljava/lang/String;Lorg/xml/sax/AttributeList;)V", "GetStartElement_Ljava_lang_String_Lorg_xml_sax_AttributeList_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member StartElement : string * Org.Xml.Sax.IAttributeList -> unit
override this.StartElement : string * Org.Xml.Sax.IAttributeList -> unit

Parâmetros

name
String

O nome do tipo de elemento.

attributes
IAttributeList

Os atributos especificados ou padrão.

Implementações

Atributos

Exceções

Qualquer exceção SAX, possivelmente encapsulando outra exceção.

Comentários

Receber notificação do início de um elemento.

Por padrão, não faça nada. Os gravadores de aplicativos podem substituir esse método em uma subclasse para executar ações específicas no início de cada elemento (como alocar um novo nó de árvore ou gravar saída em um arquivo).

Java documentação para org.xml.sax.HandlerBase.startElement(java.lang.String, org.xml.sax.AttributeList).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usadas de acordo com os termos descritos na Licença de Atribuição Creative Commons 2.5.

Aplica-se a

Confira também

  • <xref:Org.Xml.Sax.IDocumentHandler.StartElement(System.String%2c+Org.Xml.Sax.IAttributeList)>