Package com.android.aapt
Interface Resources.XmlNodeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.XmlNode,Resources.XmlNode.Builder
- Enclosing class:
- Resources
public static interface Resources.XmlNodeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.aapt.pb.XmlElement element = 1;.aapt.pb.XmlElement element = 1;Source line and column info.Source line and column info.getText()string text = 2;com.google.protobuf.ByteStringstring text = 2;boolean.aapt.pb.XmlElement element = 1;booleanSource line and column info.booleanhasText()string text = 2;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
-
hasElement
boolean hasElement().aapt.pb.XmlElement element = 1;- Returns:
- Whether the element field is set.
-
getElement
Resources.XmlElement getElement().aapt.pb.XmlElement element = 1;- Returns:
- The element.
-
getElementOrBuilder
Resources.XmlElementOrBuilder getElementOrBuilder().aapt.pb.XmlElement element = 1; -
hasText
boolean hasText()string text = 2;- Returns:
- Whether the text field is set.
-
getText
String getText()string text = 2;- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()string text = 2;- Returns:
- The bytes for text.
-
hasSource
boolean hasSource()Source line and column info.
.aapt.pb.SourcePosition source = 3;- Returns:
- Whether the source field is set.
-
getSource
Resources.SourcePosition getSource()Source line and column info.
.aapt.pb.SourcePosition source = 3;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourcePositionOrBuilder getSourceOrBuilder()Source line and column info.
.aapt.pb.SourcePosition source = 3; -
getNodeCase
Resources.XmlNode.NodeCase getNodeCase()
-