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 ClassesModifier and TypeClassDescriptionstatic classShadow of XmlBlock.Parser. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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)
-
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
-