booster / com.didiglobal.booster.aapt2 / Resources / XmlNode

XmlNode

class XmlNode : GeneratedMessageV3, XmlNodeOrBuilder


    Defines an abstract XmlNode that must be either an XmlElement, or
    a text node represented by a string.
    
Protobuf type aapt.pb.XmlNode

Types

Builder


      Defines an abstract XmlNode that must be either an XmlElement, or
      a text node represented by a string.
      
Protobuf type aapt.pb.XmlNode

class Builder : Builder<Builder!>, XmlNodeOrBuilder

NodeCase

class NodeCase : EnumLite, InternalOneOfEnum

Properties

ELEMENT_FIELD_NUMBER

static val ELEMENT_FIELD_NUMBER: Int

SOURCE_FIELD_NUMBER

static val SOURCE_FIELD_NUMBER: Int

TEXT_FIELD_NUMBER

static val TEXT_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

getDefaultInstance

static fun getDefaultInstance(): XmlNode!

getDefaultInstanceForType

fun getDefaultInstanceForType(): XmlNode!

getDescriptor

static fun getDescriptor(): Descriptor!

getElement

.aapt.pb.XmlElement element = 1;

fun getElement(): XmlElement!

getElementOrBuilder

.aapt.pb.XmlElement element = 1;

fun getElementOrBuilder(): XmlElementOrBuilder!

getNodeCase

fun getNodeCase(): NodeCase!

getParserForType

fun getParserForType(): Parser<XmlNode!>!

getSerializedSize

fun getSerializedSize(): Int

getSource


      Source line and column info.
      
.aapt.pb.SourcePosition source = 3;

fun getSource(): SourcePosition!

getSourceOrBuilder


      Source line and column info.
      
.aapt.pb.SourcePosition source = 3;

fun getSourceOrBuilder(): SourcePositionOrBuilder!

getText

string text = 2;

fun getText(): String!

getTextBytes

string text = 2;

fun getTextBytes(): ByteString!

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

hasElement

.aapt.pb.XmlElement element = 1;

fun hasElement(): Boolean

hashCode

fun hashCode(): Int

hasSource


      Source line and column info.
      
.aapt.pb.SourcePosition source = 3;

fun hasSource(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

newBuilder

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

newBuilderForType

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

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

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

parseFrom

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

parser

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

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit