Package com.android.aapt
Interface Resources.XmlElementOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.XmlElement,Resources.XmlElement.Builder
- Enclosing class:
- Resources
public static interface Resources.XmlElementOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(int index) The attributes of this element.intThe attributes of this element.The attributes of this element.getAttributeOrBuilder(int index) The attributes of this element.List<? extends Resources.XmlAttributeOrBuilder>The attributes of this element.getChild(int index) The children of this element.intThe children of this element.The children of this element.getChildOrBuilder(int index) The children of this element.List<? extends Resources.XmlNodeOrBuilder>The children of this element.getName()The name of this element.com.google.protobuf.ByteStringThe name of this element.getNamespaceDeclaration(int index) Namespaces defined on this element.intNamespaces defined on this element.Namespaces defined on this element.getNamespaceDeclarationOrBuilder(int index) Namespaces defined on this element.List<? extends Resources.XmlNamespaceOrBuilder>Namespaces defined on this element.The namespace URI of this element.com.google.protobuf.ByteStringThe namespace URI of this element.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getNamespaceDeclarationList
List<Resources.XmlNamespace> getNamespaceDeclarationList()Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1; -
getNamespaceDeclaration
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1; -
getNamespaceDeclarationCount
int getNamespaceDeclarationCount()Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1; -
getNamespaceDeclarationOrBuilderList
List<? extends Resources.XmlNamespaceOrBuilder> getNamespaceDeclarationOrBuilderList()Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1; -
getNamespaceDeclarationOrBuilder
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1; -
getNamespaceUri
String getNamespaceUri()The namespace URI of this element.
string namespace_uri = 2;- Returns:
- The namespaceUri.
-
getNamespaceUriBytes
com.google.protobuf.ByteString getNamespaceUriBytes()The namespace URI of this element.
string namespace_uri = 2;- Returns:
- The bytes for namespaceUri.
-
getName
String getName()The name of this element.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of this element.
string name = 3;- Returns:
- The bytes for name.
-
getAttributeList
List<Resources.XmlAttribute> getAttributeList()The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4; -
getAttribute
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4; -
getAttributeCount
int getAttributeCount()The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4; -
getAttributeOrBuilderList
List<? extends Resources.XmlAttributeOrBuilder> getAttributeOrBuilderList()The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4; -
getAttributeOrBuilder
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4; -
getChildList
List<Resources.XmlNode> getChildList()The children of this element.
repeated .aapt.pb.XmlNode child = 5; -
getChild
The children of this element.
repeated .aapt.pb.XmlNode child = 5; -
getChildCount
int getChildCount()The children of this element.
repeated .aapt.pb.XmlNode child = 5; -
getChildOrBuilderList
List<? extends Resources.XmlNodeOrBuilder> getChildOrBuilderList()The children of this element.
repeated .aapt.pb.XmlNode child = 5; -
getChildOrBuilder
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-