booster / com.didiglobal.booster.aapt2 / Resources / XmlElement

XmlElement

class XmlElement : GeneratedMessageV3, XmlElementOrBuilder


    An <element> in an XML document.
    
Protobuf type aapt.pb.XmlElement

Types

Builder


      An <element> in an XML document.
      
Protobuf type aapt.pb.XmlElement

class Builder : Builder<Builder!>, XmlElementOrBuilder

Properties

ATTRIBUTE_FIELD_NUMBER

static val ATTRIBUTE_FIELD_NUMBER: Int

CHILD_FIELD_NUMBER

static val CHILD_FIELD_NUMBER: Int

NAME_FIELD_NUMBER

static val NAME_FIELD_NUMBER: Int

NAMESPACE_DECLARATION_FIELD_NUMBER

static val NAMESPACE_DECLARATION_FIELD_NUMBER: Int

NAMESPACE_URI_FIELD_NUMBER

static val NAMESPACE_URI_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getAttribute


      The attributes of this element.
      
repeated .aapt.pb.XmlAttribute attribute = 4;

fun getAttribute(index: Int): XmlAttribute!

getAttributeCount


      The attributes of this element.
      
repeated .aapt.pb.XmlAttribute attribute = 4;

fun getAttributeCount(): Int

getAttributeList


      The attributes of this element.
      
repeated .aapt.pb.XmlAttribute attribute = 4;

fun getAttributeList(): MutableList<XmlAttribute!>!

getAttributeOrBuilder


      The attributes of this element.
      
repeated .aapt.pb.XmlAttribute attribute = 4;

fun getAttributeOrBuilder(index: Int): XmlAttributeOrBuilder!

getAttributeOrBuilderList


      The attributes of this element.
      
repeated .aapt.pb.XmlAttribute attribute = 4;

fun getAttributeOrBuilderList(): MutableList<out XmlAttributeOrBuilder!>!

getChild


      The children of this element.
      
repeated .aapt.pb.XmlNode child = 5;

fun getChild(index: Int): XmlNode!

getChildCount


      The children of this element.
      
repeated .aapt.pb.XmlNode child = 5;

fun getChildCount(): Int

getChildList


      The children of this element.
      
repeated .aapt.pb.XmlNode child = 5;

fun getChildList(): MutableList<XmlNode!>!

getChildOrBuilder


      The children of this element.
      
repeated .aapt.pb.XmlNode child = 5;

fun getChildOrBuilder(index: Int): XmlNodeOrBuilder!

getChildOrBuilderList


      The children of this element.
      
repeated .aapt.pb.XmlNode child = 5;

fun getChildOrBuilderList(): MutableList<out XmlNodeOrBuilder!>!

getDefaultInstance

static fun getDefaultInstance(): XmlElement!

getDefaultInstanceForType

fun getDefaultInstanceForType(): XmlElement!

getDescriptor

static fun getDescriptor(): Descriptor!

getName


      The name of this element.
      
string name = 3;

fun getName(): String!

getNameBytes


      The name of this element.
      
string name = 3;

fun getNameBytes(): ByteString!

getNamespaceDeclaration


      Namespaces defined on this element.
      
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;

fun getNamespaceDeclaration(index: Int): XmlNamespace!

getNamespaceDeclarationCount


      Namespaces defined on this element.
      
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;

fun getNamespaceDeclarationCount(): Int

getNamespaceDeclarationList


      Namespaces defined on this element.
      
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;

fun getNamespaceDeclarationList(): MutableList<XmlNamespace!>!

getNamespaceDeclarationOrBuilder


      Namespaces defined on this element.
      
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;

fun getNamespaceDeclarationOrBuilder(index: Int): XmlNamespaceOrBuilder!

getNamespaceDeclarationOrBuilderList


      Namespaces defined on this element.
      
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;

fun getNamespaceDeclarationOrBuilderList(): MutableList<out XmlNamespaceOrBuilder!>!

getNamespaceUri


      The namespace URI of this element.
      
string namespace_uri = 2;

fun getNamespaceUri(): String!

getNamespaceUriBytes


      The namespace URI of this element.
      
string namespace_uri = 2;

fun getNamespaceUriBytes(): ByteString!

getParserForType

fun getParserForType(): Parser<XmlElement!>!

getSerializedSize

fun getSerializedSize(): Int

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

hashCode

fun hashCode(): Int

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

static fun newBuilder(): Builder!
static fun newBuilder(prototype: XmlElement!): Builder!

newBuilderForType

fun newBuilderForType(): Builder!
fun newBuilderForType(parent: BuilderParent!): Builder!

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

static fun parseDelimitedFrom(input: InputStream!): XmlElement!
static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): XmlElement!

parseFrom

static fun parseFrom(data: ByteBuffer!): XmlElement!
static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): XmlElement!
static fun parseFrom(data: ByteString!): XmlElement!
static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): XmlElement!
static fun parseFrom(data: ByteArray!): XmlElement!
static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): XmlElement!
static fun parseFrom(input: InputStream!): XmlElement!
static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): XmlElement!
static fun parseFrom(input: CodedInputStream!): XmlElement!
static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): XmlElement!

parser

static fun parser(): Parser<XmlElement!>!

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit