public class AndroidConfigReader extends BaseConfigReader
Resolves references by using Context.getResources
first. Resource strings should be
of the form @com.foo:raw/metawidget_metadata
.
mFactory
Constructor and Description |
---|
AndroidConfigReader(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createNative(String name,
Class<?> namespace,
String recordedText)
Overridden to process
int s using Resources.getIdentifier |
configure, configure, createLazyResolvingNative, createNativeCollection, getResourceResolver, isImmutable, isLazyResolvingNative, isNative, lookupClass, lookupClass
protected Object createNative(String name, Class<?> namespace, String recordedText) throws Exception
int
s using Resources.getIdentifier
Resource strings should be of the form @style/section
.
createNative
in class BaseConfigReader
namespace
- the Class of the object under constructionException
Copyright © 2015. All Rights Reserved.