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
Nested ClassesModifier and TypeClassDescriptionstatic classShadow of XmlBlock.Parser.Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowBaseXmlBlock
ShadowBaseXmlBlock.Picker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static longnativeCreate(byte[] bArray, int off, int len) protected static longnativeCreateParseState(long obj) protected static longnativeCreateParseState(long obj, int resid) protected static voidnativeDestroy(long obj) protected static voidnativeDestroyParseState(long state) protected static intnativeGetAttributeCount(long state) protected static intnativeGetAttributeData(long state, int idx) protected static intnativeGetAttributeDataType(long state, int idx) protected static intnativeGetAttributeIndex(long token, String ns, String name) protected static intnativeGetAttributeName(long state, int idx) protected static intnativeGetAttributeNamespace(long state, int idx) protected static intnativeGetAttributeResource(long state, int idx) protected static intnativeGetAttributeStringValue(long state, int idx) protected static intnativeGetClassAttribute(long state) protected static intnativeGetIdAttribute(long state) protected static intnativeGetLineNumber(long state) protected static intnativeGetName(long state) protected static intnativeGetNamespace(long state) protected static intnativeGetSourceResId(long state) protected static longnativeGetStringBlock(long obj) protected static intnativeGetStyleAttribute(long state) protected static intnativeGetText(long state) protected static intnativeNext(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
-