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 classShadowXmlBlock.ShadowParserShadow of XmlBlock.Parser.
-
Constructor Summary
Constructors Constructor Description ShadowXmlBlock()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static NumbernativeCreate(byte[] bArray, int off, int len)protected static intnativeCreateParseState(int obj)protected static longnativeCreateParseState(long obj)protected static longnativeCreateParseState(long obj, int resid)protected static voidnativeDestroy(int obj)protected static voidnativeDestroy(long obj)protected static voidnativeDestroyParseState(int obj)protected static voidnativeDestroyParseState(long state)protected static intnativeGetAttributeCount(int state)protected static intnativeGetAttributeCount(long state)protected static intnativeGetAttributeData(int state, int idx)protected static intnativeGetAttributeData(long state, int idx)protected static intnativeGetAttributeDataType(int state, int idx)protected static intnativeGetAttributeDataType(long state, int idx)protected static intnativeGetAttributeIndex(int obj, String ns, String name)protected static intnativeGetAttributeIndex(long token, String ns, String name)protected static intnativeGetAttributeName(int state, int idx)protected static intnativeGetAttributeName(long state, int idx)protected static intnativeGetAttributeNamespace(int state, int idx)protected static intnativeGetAttributeNamespace(long state, int idx)protected static intnativeGetAttributeResource(int state, int idx)protected static intnativeGetAttributeResource(long state, int idx)protected static intnativeGetAttributeStringValue(int state, int idx)protected static intnativeGetAttributeStringValue(long state, int idx)protected static intnativeGetClassAttribute(int obj)protected static intnativeGetClassAttribute(long state)protected static intnativeGetIdAttribute(int obj)protected static intnativeGetIdAttribute(long state)protected static intnativeGetLineNumber(int state)protected static intnativeGetLineNumber(long state)protected static intnativeGetName(int state)protected static intnativeGetName(long state)protected static intnativeGetNamespace(int state)protected static intnativeGetNamespace(long state)protected static intnativeGetSourceResId(long state)protected static intnativeGetStringBlock(int obj)protected static NumbernativeGetStringBlock(long obj)protected static intnativeGetStyleAttribute(int obj)protected static intnativeGetStyleAttribute(long state)protected static intnativeGetText(int state)protected static intnativeGetText(long state)protected static intnativeNext(int state)protected static intnativeNext(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)
-
-