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
  • Constructor Details

    • ShadowXmlBlock

      public ShadowXmlBlock()
  • Method Details

    • nativeCreate

      @Implementation protected static long nativeCreate(byte[] bArray, int off, int len)
    • nativeGetStringBlock

      @Implementation protected static long nativeGetStringBlock(long obj)
    • nativeCreateParseState

      @Implementation(maxSdk=28) protected static long nativeCreateParseState(long obj)
    • nativeCreateParseState

      @Implementation(minSdk=29) protected static long nativeCreateParseState(long obj, int resid)
    • nativeNext

      @Implementation protected static int nativeNext(long state) throws XmlPullParserException
      Throws:
      XmlPullParserException
    • nativeGetNamespace

      @Implementation protected static int nativeGetNamespace(long state)
    • nativeGetName

      @Implementation protected static int nativeGetName(long state)
    • nativeGetText

      @Implementation protected static int nativeGetText(long state)
    • nativeGetLineNumber

      @Implementation protected static int nativeGetLineNumber(long state)
    • nativeGetAttributeCount

      @Implementation protected static int nativeGetAttributeCount(long state)
    • nativeGetAttributeNamespace

      @Implementation protected static int nativeGetAttributeNamespace(long state, int idx)
    • nativeGetAttributeName

      @Implementation protected static int nativeGetAttributeName(long state, int idx)
    • nativeGetAttributeResource

      @Implementation protected static int nativeGetAttributeResource(long state, int idx)
    • nativeGetAttributeDataType

      @Implementation protected static int nativeGetAttributeDataType(long state, int idx)
    • nativeGetAttributeData

      @Implementation protected static int nativeGetAttributeData(long state, int idx)
    • nativeGetAttributeStringValue

      @Implementation protected static int nativeGetAttributeStringValue(long state, int idx)
    • nativeGetIdAttribute

      @Implementation protected static int nativeGetIdAttribute(long state)
    • nativeGetClassAttribute

      @Implementation protected static int nativeGetClassAttribute(long state)
    • nativeGetStyleAttribute

      @Implementation protected static int nativeGetStyleAttribute(long state)
    • nativeGetAttributeIndex

      @Implementation protected static int nativeGetAttributeIndex(long token, String ns, String name)
    • nativeGetSourceResId

      @Implementation(minSdk=29) protected static int nativeGetSourceResId(long state)
    • nativeDestroyParseState

      @Implementation protected static void nativeDestroyParseState(long state)
    • nativeDestroy

      @Implementation protected static void nativeDestroy(long obj)