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