Package org.robolectric.res.android
Class ResXMLParser
java.lang.Object
org.robolectric.res.android.ResXMLParser
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getAttributeData
(int idx) int
getAttributeDataType
(int idx) int
getAttributeNameID
(int idx) int
getAttributeNameResID
(int idx) int
getAttributeNamespaceID
(int idx) int
getAttributeValue
(int idx, Ref<ResourceTypes.Res_value> outValue) int
getAttributeValueStringID
(int idx) int
int
int
int
int
int
indexOfAttribute
(String ns, int nsLen, String attr, int attrLen) int
int
int
int
next()
void
restart()
void
setSourceResourceId
(int resId)
-
Constructor Details
-
ResXMLParser
-
-
Method Details
-
restart
public void restart() -
getStrings
-
next
public int next() -
getLineNumber
public int getLineNumber() -
getTextID
public int getTextID() -
getElementNamespaceID
public int getElementNamespaceID() -
getElementNameID
public int getElementNameID() -
getAttributeCount
public int getAttributeCount() -
getAttributeNamespaceID
public int getAttributeNamespaceID(int idx) -
getAttributeNameID
public int getAttributeNameID(int idx) -
getAttributeNameResID
public int getAttributeNameResID(int idx) -
getAttributeValueStringID
public int getAttributeValueStringID(int idx) -
getAttributeDataType
public int getAttributeDataType(int idx) -
getAttributeData
public int getAttributeData(int idx) -
getAttributeValue
-
indexOfAttribute
-
indexOfID
public int indexOfID() -
indexOfClass
public int indexOfClass() -
indexOfStyle
public int indexOfStyle() -
setSourceResourceId
public void setSourceResourceId(int resId) -
getSourceResourceId
public int getSourceResourceId()
-