Package com.android.aapt
Interface Resources.StyledString.SpanOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.StyledString.Span,Resources.StyledString.Span.Builder
- Enclosing class:
- Resources.StyledString
public static interface Resources.StyledString.SpanOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetFirstChar()The first character position this span applies to, in UTF-16 offset.intgetLastChar()The last character position this span applies to, in UTF-16 offset.java.lang.StringgetTag()The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]com.google.protobuf.ByteStringgetTagBytes()The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTag
java.lang.String getTag()
The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]
string tag = 1;- Returns:
- The tag.
-
getTagBytes
com.google.protobuf.ByteString getTagBytes()
The name of the tag, and its attributes, encoded as follows: tag_name;attr1=value1;attr2=value2;[...]
string tag = 1;- Returns:
- The bytes for tag.
-
getFirstChar
int getFirstChar()
The first character position this span applies to, in UTF-16 offset.
uint32 first_char = 2;- Returns:
- The firstChar.
-
getLastChar
int getLastChar()
The last character position this span applies to, in UTF-16 offset.
uint32 last_char = 3;- Returns:
- The lastChar.
-
-