Package org.robolectric.res
Class AttributeResource
java.lang.Object
org.robolectric.res.AttributeResource
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAttributeResource
(ResName resName, String value, String contextPackageName) AttributeResource
(ResName resName, String value, String contextPackageName, Integer referenceResId) -
Method Summary
Modifier and TypeMethodDescriptionstatic ResName
getResourceReference
(String value, String defPackage, String defType) static ResName
getStyleReference
(String value, String defPackage, String defType) boolean
isEmpty()
static boolean
boolean
isNull()
static boolean
boolean
static boolean
isResourceReference
(String value) boolean
static boolean
isStyleReference
(String value) toString()
-
Field Details
-
ANDROID_NS
- See Also:
-
ANDROID_RES_NS_PREFIX
- See Also:
-
RES_AUTO_NS_URI
- See Also:
-
NULL_VALUE
- See Also:
-
EMPTY_VALUE
- See Also:
-
IS_RESOURCE_REFERENCE
-
resName
-
value
-
trimmedValue
-
contextPackageName
-
-
Constructor Details
-
AttributeResource
-
AttributeResource
-
-
Method Details
-
isResourceReference
public boolean isResourceReference() -
getResourceReference
-
isStyleReference
public boolean isStyleReference() -
getStyleReference
-
isNull
public boolean isNull() -
isEmpty
public boolean isEmpty() -
toString
-
isResourceReference
-
getResourceReference
-
isStyleReference
-
getStyleReference
-
isNull
-
isEmpty
-
getReferenceResId
-