|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.ide.common.res2.DataBindingResourceItem
public abstract class DataBindingResourceItem
| Constructor Summary | |
|---|---|
DataBindingResourceItem(java.lang.String name,
DataBindingResourceType type)
Constructs the object with a name, type and optional value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.io.File |
getFile()
For non-values resources, this is the original source file. |
java.lang.String |
getKey()
Returns the key for this item. |
java.lang.String |
getName()
Returns the name of the item. |
F |
getSource()
Returns the DataFile the item is coming from. |
protected int |
getStatus()
Obtains the full status of the data item; should not generally be used except for debug purposes. |
DataBindingResourceType |
getType()
|
int |
hashCode()
|
void |
setSource(F sourceFile)
Sets the DataFile. |
protected void |
wasTouched()
Hook invoked when the data item has been touched. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataBindingResourceItem(@NonNull
java.lang.String name,
@NonNull
DataBindingResourceType type)
name - the name of the item| Method Detail |
|---|
@NonNull public DataBindingResourceType getType()
public boolean equals(java.lang.Object o)
public int hashCode()
@NonNull public java.lang.String getName()
@Nullable public F getSource()
public void setSource(@NonNull
F sourceFile)
sourceFile - the data file, if null then the item is marked as being removed from the
data fileprotected int getStatus()
public java.lang.String getKey()
protected void wasTouched()
public java.io.File getFile()
GeneratedResourceItem overrides it.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||