public static class Location.ResourceItemHandle extends java.lang.Object implements Location.Handle
| Constructor and Description |
|---|
ResourceItemHandle(com.android.ide.common.res2.ResourceItem item) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getClientData()
Returns the client data associated with this location - an optional field
which can be used by the creator of the
Location to store
temporary state associated with the location. |
Location |
resolve()
Compute a full location for the given handle
|
void |
setClientData(java.lang.Object clientData)
Sets the client data associated with this location.
|
public ResourceItemHandle(@NonNull
com.android.ide.common.res2.ResourceItem item)
@NonNull public Location resolve()
Location.Handleresolve in interface Location.Handlepublic void setClientData(@Nullable
java.lang.Object clientData)
Location.HandleLocation to store
temporary state associated with the location.setClientData in interface Location.HandleclientData - the data to store with this location@Nullable public java.lang.Object getClientData()
Location.HandleLocation to store
temporary state associated with the location.getClientData in interface Location.Handle