public class DeclareStyleableResourceValue extends ResourceValueImpl
ResourceValue.getValue() will return null, instead use getAllAttributes() to get the list
of attributes defined in the declare-styleable.
mNamespaceResolver| Constructor and Description |
|---|
DeclareStyleableResourceValue(ResourceNamespace namespace,
ResourceType type,
java.lang.String name,
java.lang.String value,
java.lang.String libraryName) |
DeclareStyleableResourceValue(ResourceReference reference,
java.lang.String value) |
DeclareStyleableResourceValue(ResourceReference reference,
java.lang.String value,
java.lang.String libraryName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(AttrResourceValue attr) |
java.util.List<AttrResourceValue> |
getAllAttributes() |
asReference, equals, getLibraryName, getName, getNamespace, getNamespaceResolver, getRawXmlValue, getReference, getResourceType, getResourceUrl, getValue, hashCode, isFramework, isUserDefined, replaceWith, setNamespaceLookup, setNamespaceResolver, setValue, toStringpublic DeclareStyleableResourceValue(@NonNull
ResourceReference reference,
@Nullable
java.lang.String value)
public DeclareStyleableResourceValue(@NonNull
ResourceReference reference,
@Nullable
java.lang.String value,
@Nullable
java.lang.String libraryName)
public DeclareStyleableResourceValue(@NonNull
ResourceNamespace namespace,
@NonNull
ResourceType type,
@NonNull
java.lang.String name,
@Nullable
java.lang.String value,
@Nullable
java.lang.String libraryName)
@NonNull public java.util.List<AttrResourceValue> getAllAttributes()
public void addValue(@NonNull
AttrResourceValue attr)