public interface ILayoutPullParser
extends org.xmlpull.v1.XmlPullParser
XmlPullParser to use with
Bridge.createSession(SessionParams)CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES| Modifier and Type | Method and Description |
|---|---|
ResourceNamespace |
getLayoutNamespace()
Returns the aapt
ResourceNamespace of the layout being parsed, that is of the module
from which this layout comes from. |
java.lang.Object |
getViewCookie()
Returns a cookie for the current XML node.
|
defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, require, setFeature, setInput, setInput, setProperty@Nullable java.lang.Object getViewCookie()
This cookie will be passed back in the ViewInfo objects, allowing association of a
particular XML node with its result from the layout computation.
ViewInfo.getCookie()@NonNull ResourceNamespace getLayoutNamespace()
ResourceNamespace of the layout being parsed, that is of the module
from which this layout comes from.
This namespace is used to resolve "relative" resource references within the layout, that
is strings like @string/foo, which don't explicitly specify the namespace of foo.