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
Nested Classes Modifier and Type Class Description static class
ShadowXmlBlock.ShadowParser
Shadow of XmlBlock.Parser.
-
Constructor Summary
Constructors Constructor Description ShadowXmlBlock()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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)
-
-
-
Method Detail
-
nativeCreate
@Implementation protected static Number nativeCreate(byte[] bArray, int off, int len)
-
nativeGetStringBlock
@Implementation(maxSdk=20) protected static int nativeGetStringBlock(int obj)
-
nativeGetStringBlock
@Implementation(minSdk=21) protected static Number nativeGetStringBlock(long obj)
-
nativeCreateParseState
@Implementation(maxSdk=20) protected static int nativeCreateParseState(int obj)
-
nativeCreateParseState
@Implementation(minSdk=21, maxSdk=28) protected static long nativeCreateParseState(long obj)
-
nativeCreateParseState
@Implementation(minSdk=29) protected static long nativeCreateParseState(long obj, int resid)
-
nativeNext
@Implementation(maxSdk=20) protected static int nativeNext(int state) throws XmlPullParserException
- Throws:
XmlPullParserException
-
nativeNext
@Implementation(minSdk=21) protected static int nativeNext(long state) throws XmlPullParserException
- Throws:
XmlPullParserException
-
nativeGetNamespace
@Implementation(maxSdk=20) protected static int nativeGetNamespace(int state)
-
nativeGetNamespace
@Implementation(minSdk=21) protected static int nativeGetNamespace(long state)
-
nativeGetName
@Implementation(maxSdk=20) protected static int nativeGetName(int state)
-
nativeGetName
@Implementation(minSdk=21) protected static int nativeGetName(long state)
-
nativeGetText
@Implementation(maxSdk=20) protected static int nativeGetText(int state)
-
nativeGetText
@Implementation(minSdk=21) protected static int nativeGetText(long state)
-
nativeGetLineNumber
@Implementation(maxSdk=20) protected static int nativeGetLineNumber(int state)
-
nativeGetLineNumber
@Implementation(minSdk=21) protected static int nativeGetLineNumber(long state)
-
nativeGetAttributeCount
@Implementation(maxSdk=20) protected static int nativeGetAttributeCount(int state)
-
nativeGetAttributeCount
@Implementation(minSdk=21) protected static int nativeGetAttributeCount(long state)
-
nativeGetAttributeNamespace
@Implementation(maxSdk=20) protected static int nativeGetAttributeNamespace(int state, int idx)
-
nativeGetAttributeNamespace
@Implementation(minSdk=21) protected static int nativeGetAttributeNamespace(long state, int idx)
-
nativeGetAttributeName
@Implementation(maxSdk=20) protected static int nativeGetAttributeName(int state, int idx)
-
nativeGetAttributeName
@Implementation(minSdk=21) protected static int nativeGetAttributeName(long state, int idx)
-
nativeGetAttributeResource
@Implementation(maxSdk=20) protected static int nativeGetAttributeResource(int state, int idx)
-
nativeGetAttributeResource
@Implementation(minSdk=21) protected static int nativeGetAttributeResource(long state, int idx)
-
nativeGetAttributeDataType
@Implementation(maxSdk=20) protected static int nativeGetAttributeDataType(int state, int idx)
-
nativeGetAttributeDataType
@Implementation(minSdk=21) protected static int nativeGetAttributeDataType(long state, int idx)
-
nativeGetAttributeData
@Implementation(maxSdk=20) protected static int nativeGetAttributeData(int state, int idx)
-
nativeGetAttributeData
@Implementation(minSdk=21) protected static int nativeGetAttributeData(long state, int idx)
-
nativeGetAttributeStringValue
@Implementation(maxSdk=20) protected static int nativeGetAttributeStringValue(int state, int idx)
-
nativeGetAttributeStringValue
@Implementation(minSdk=21) protected static int nativeGetAttributeStringValue(long state, int idx)
-
nativeGetIdAttribute
@Implementation(maxSdk=20) protected static int nativeGetIdAttribute(int obj)
-
nativeGetIdAttribute
@Implementation(minSdk=21) protected static int nativeGetIdAttribute(long state)
-
nativeGetClassAttribute
@Implementation(maxSdk=20) protected static int nativeGetClassAttribute(int obj)
-
nativeGetClassAttribute
@Implementation(minSdk=21) protected static int nativeGetClassAttribute(long state)
-
nativeGetStyleAttribute
@Implementation(maxSdk=20) protected static int nativeGetStyleAttribute(int obj)
-
nativeGetStyleAttribute
@Implementation(minSdk=21) protected static int nativeGetStyleAttribute(long state)
-
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
@Implementation(minSdk=29) protected static int nativeGetSourceResId(long state)
-
nativeDestroyParseState
@Implementation(maxSdk=20) protected static void nativeDestroyParseState(int obj)
-
nativeDestroyParseState
@Implementation(minSdk=21) protected static void nativeDestroyParseState(long state)
-
nativeDestroy
@Implementation(maxSdk=20) protected static void nativeDestroy(int obj)
-
nativeDestroy
@Implementation(minSdk=21) protected static void nativeDestroy(long obj)
-
-