Package org.robolectric.shadows
Class ShadowXmlBlock
java.lang.Object
org.robolectric.shadows.ShadowXmlBlock
@Implements(className="android.content.res.XmlBlock",
isInAndroidSdk=false)
public class ShadowXmlBlock
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Shadow of XmlBlock.Parser. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Number
nativeCreate
(byte[] bArray, int off, int len) protected static int
nativeCreateParseState
(int obj) protected static long
nativeCreateParseState
(long obj) protected static long
nativeCreateParseState
(long obj, int resid) protected static void
nativeDestroy
(int obj) protected static void
nativeDestroy
(long obj) protected static void
nativeDestroyParseState
(int obj) protected static void
nativeDestroyParseState
(long state) protected static int
nativeGetAttributeCount
(int state) protected static int
nativeGetAttributeCount
(long state) protected static int
nativeGetAttributeData
(int state, int idx) protected static int
nativeGetAttributeData
(long state, int idx) protected static int
nativeGetAttributeDataType
(int state, int idx) protected static int
nativeGetAttributeDataType
(long state, int idx) protected static int
nativeGetAttributeIndex
(int obj, String ns, String name) protected static int
nativeGetAttributeIndex
(long token, String ns, String name) protected static int
nativeGetAttributeName
(int state, int idx) protected static int
nativeGetAttributeName
(long state, int idx) protected static int
nativeGetAttributeNamespace
(int state, int idx) protected static int
nativeGetAttributeNamespace
(long state, int idx) protected static int
nativeGetAttributeResource
(int state, int idx) protected static int
nativeGetAttributeResource
(long state, int idx) protected static int
nativeGetAttributeStringValue
(int state, int idx) protected static int
nativeGetAttributeStringValue
(long state, int idx) protected static int
nativeGetClassAttribute
(int obj) protected static int
nativeGetClassAttribute
(long state) protected static int
nativeGetIdAttribute
(int obj) protected static int
nativeGetIdAttribute
(long state) protected static int
nativeGetLineNumber
(int state) protected static int
nativeGetLineNumber
(long state) protected static int
nativeGetName
(int state) protected static int
nativeGetName
(long state) protected static int
nativeGetNamespace
(int state) protected static int
nativeGetNamespace
(long state) protected static int
nativeGetSourceResId
(long state) protected static int
nativeGetStringBlock
(int obj) protected static Number
nativeGetStringBlock
(long obj) protected static int
nativeGetStyleAttribute
(int obj) protected static int
nativeGetStyleAttribute
(long state) protected static int
nativeGetText
(int state) protected static int
nativeGetText
(long state) protected static int
nativeNext
(int state) protected static int
nativeNext
(long state)
-
Constructor Details
-
ShadowXmlBlock
public ShadowXmlBlock()
-
-
Method Details
-
nativeCreate
-
nativeGetStringBlock
-
nativeGetStringBlock
-
nativeCreateParseState
-
nativeCreateParseState
-
nativeCreateParseState
-
nativeNext
- Throws:
XmlPullParserException
-
nativeNext
@Implementation(minSdk=21) protected static int nativeNext(long state) throws XmlPullParserException - Throws:
XmlPullParserException
-
nativeGetNamespace
-
nativeGetNamespace
-
nativeGetName
-
nativeGetName
-
nativeGetText
-
nativeGetText
-
nativeGetLineNumber
-
nativeGetLineNumber
-
nativeGetAttributeCount
-
nativeGetAttributeCount
-
nativeGetAttributeNamespace
-
nativeGetAttributeNamespace
-
nativeGetAttributeName
-
nativeGetAttributeName
-
nativeGetAttributeResource
-
nativeGetAttributeResource
-
nativeGetAttributeDataType
-
nativeGetAttributeDataType
-
nativeGetAttributeData
-
nativeGetAttributeData
-
nativeGetAttributeStringValue
-
nativeGetAttributeStringValue
-
nativeGetIdAttribute
-
nativeGetIdAttribute
-
nativeGetClassAttribute
-
nativeGetClassAttribute
-
nativeGetStyleAttribute
-
nativeGetStyleAttribute
-
nativeGetAttributeIndex
@Implementation(maxSdk=20) protected static int nativeGetAttributeIndex(int obj, String ns, String name) -
nativeGetAttributeIndex
@Implementation(minSdk=21) protected static int nativeGetAttributeIndex(long token, String ns, String name) -
nativeGetSourceResId
-
nativeDestroyParseState
-
nativeDestroyParseState
-
nativeDestroy
-
nativeDestroy
-