Compartilhar via


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 envolvendo 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).

Documentação Java 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 usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a

Confira também

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