public class SampleDataResourceValue extends ResourceValue
ResourceValue used to contain the value of a Sample Data source. This class avoids
having to split potentially large files multiple times since we store it as a list of lines.mNamespaceResolver, mValue| Constructor and Description |
|---|
SampleDataResourceValue(ResourceReference reference,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Returns the value of the resource, as defined in the XML.
|
com.google.common.collect.ImmutableList<java.lang.String> |
getValueAsLines() |
equals, getLibraryName, getRawXmlValue, getReference, hashCode, isUserDefined, replaceWith, setNamespaceLookup, setValue, toStringgetName, getNamespace, getRelativeResourceUrl, getResourceType, getResourceUrl, isFrameworkpublic SampleDataResourceValue(@NonNull
ResourceReference reference,
@Nullable
byte[] content)
@Nullable public java.lang.String getValue()
ResourceValuenull,
for example for instances of StyleResourceValue.getValue in class ResourceValue@NonNull public com.google.common.collect.ImmutableList<java.lang.String> getValueAsLines()