Package org.robolectric.android
Class AttributeSetBuilderImpl.ArscResourceResolver
java.lang.Object
org.robolectric.android.AttributeSetBuilderImpl.ArscResourceResolver
- All Implemented Interfaces:
AttributeSetBuilderImpl.ResourceResolver
- Enclosing class:
- AttributeSetBuilderImpl
public static class AttributeSetBuilderImpl.ArscResourceResolver extends Object implements AttributeSetBuilderImpl.ResourceResolver
-
Constructor Summary
Constructors Constructor Description ArscResourceResolver(Context context)
-
Method Summary
Modifier and Type Method Description Integer
getIdentifier(String name, String type, String packageName)
String
getPackageName()
String
getResourceName(Integer attrId)
void
parseValue(Integer attrId, ResName attrResName, AttributeResource attribute, TypedValue outValue)
-
Constructor Details
-
Method Details
-
getPackageName
- Specified by:
getPackageName
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
getResourceName
- Specified by:
getResourceName
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
getIdentifier
- Specified by:
getIdentifier
in interfaceAttributeSetBuilderImpl.ResourceResolver
-
parseValue
public void parseValue(Integer attrId, ResName attrResName, AttributeResource attribute, TypedValue outValue)- Specified by:
parseValue
in interfaceAttributeSetBuilderImpl.ResourceResolver
-