Package com.android.aapt
Interface Resources.XmlAttributeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.XmlAttribute,Resources.XmlAttribute.Builder
- Enclosing class:
- Resources
public static interface Resources.XmlAttributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe optional interpreted/compiled version of the `value` string.The optional interpreted/compiled version of the `value` string.getName()string name = 2;com.google.protobuf.ByteStringstring name = 2;string namespace_uri = 1;com.google.protobuf.ByteStringstring namespace_uri = 1;intThe optional resource ID (0xPPTTEEEE) of the attribute.Source line and column info.Source line and column info.getValue()string value = 3;com.google.protobuf.ByteStringstring value = 3;booleanThe optional interpreted/compiled version of the `value` string.booleanSource line and column info.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
-
getNamespaceUri
String getNamespaceUri()string namespace_uri = 1;- Returns:
- The namespaceUri.
-
getNamespaceUriBytes
com.google.protobuf.ByteString getNamespaceUriBytes()string namespace_uri = 1;- Returns:
- The bytes for namespaceUri.
-
getName
String getName()string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 2;- Returns:
- The bytes for name.
-
getValue
String getValue()string value = 3;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()string value = 3;- Returns:
- The bytes for value.
-
hasSource
boolean hasSource()Source line and column info.
.aapt.pb.SourcePosition source = 4;- Returns:
- Whether the source field is set.
-
getSource
Resources.SourcePosition getSource()Source line and column info.
.aapt.pb.SourcePosition source = 4;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourcePositionOrBuilder getSourceOrBuilder()Source line and column info.
.aapt.pb.SourcePosition source = 4; -
getResourceId
int getResourceId()The optional resource ID (0xPPTTEEEE) of the attribute.
uint32 resource_id = 5;- Returns:
- The resourceId.
-
hasCompiledItem
boolean hasCompiledItem()The optional interpreted/compiled version of the `value` string.
.aapt.pb.Item compiled_item = 6;- Returns:
- Whether the compiledItem field is set.
-
getCompiledItem
Resources.Item getCompiledItem()The optional interpreted/compiled version of the `value` string.
.aapt.pb.Item compiled_item = 6;- Returns:
- The compiledItem.
-
getCompiledItemOrBuilder
Resources.ItemOrBuilder getCompiledItemOrBuilder()The optional interpreted/compiled version of the `value` string.
.aapt.pb.Item compiled_item = 6;
-