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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resources.ItemgetCompiledItem()The optional interpreted/compiled version of the `value` string.Resources.ItemOrBuildergetCompiledItemOrBuilder()The optional interpreted/compiled version of the `value` string.java.lang.StringgetName()string name = 2;com.google.protobuf.ByteStringgetNameBytes()string name = 2;java.lang.StringgetNamespaceUri()string namespace_uri = 1;com.google.protobuf.ByteStringgetNamespaceUriBytes()string namespace_uri = 1;intgetResourceId()The optional resource ID (0xPPTTEEEE) of the attribute.Resources.SourcePositiongetSource()Source line and column info.Resources.SourcePositionOrBuildergetSourceOrBuilder()Source line and column info.java.lang.StringgetValue()string value = 3;com.google.protobuf.ByteStringgetValueBytes()string value = 3;booleanhasCompiledItem()The optional interpreted/compiled version of the `value` string.booleanhasSource()Source line and column info.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespaceUri
java.lang.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
java.lang.String getName()
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 2;- Returns:
- The bytes for name.
-
getValue
java.lang.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;
-
-