Package org.robolectric.android
Class AttributeSetBuilderImpl.LegacyResourceResolver
java.lang.Object
org.robolectric.android.AttributeSetBuilderImpl.LegacyResourceResolver
- All Implemented Interfaces:
AttributeSetBuilderImpl.ResourceResolver
- Enclosing class:
- AttributeSetBuilderImpl
public static class AttributeSetBuilderImpl.LegacyResourceResolver extends Object implements AttributeSetBuilderImpl.ResourceResolver
-
Constructor Summary
Constructors Constructor Description LegacyResourceResolver(Context context, ResourceTable compileTimeResourceTable)
-
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
-