@Deprecated
public class ScanningContext
extends java.lang.Object
| Constructor and Description |
|---|
ScanningContext()
Deprecated.
Constructs a new
ScanningContext |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(java.lang.String error)
Deprecated.
Adds the given error to the scanning context.
|
boolean |
checkValue(java.lang.String uri,
java.lang.String name,
java.lang.String value)
Deprecated.
Asks the context to check whether the given attribute name and value is valid
in this context.
|
java.util.List<java.lang.String> |
getErrors()
Deprecated.
Returns a list of errors encountered during scanning, or null if there were no errors.
|
boolean |
needsFullAapt()
Deprecated.
Returns whether this repository has been marked as "dirty"; if one or
more of the constituent files have declared that the resource item names
that they provide have changed.
|
protected void |
requestFullAapt()
Deprecated.
Marks that a full aapt compilation of the resources is necessary because it has
detected a change that cannot be incrementally handled.
|
public ScanningContext()
ScanningContext@Nullable public java.util.List<java.lang.String> getErrors()
public void addError(@NonNull
java.lang.String error)
error - the error message, including file name and line number at
the beginningprotected void requestFullAapt()
public boolean needsFullAapt()
public boolean checkValue(@Nullable
java.lang.String uri,
@NonNull
java.lang.String name,
@NonNull
java.lang.String value)
uri - the XML namespace URIname - the attribute local namevalue - the attribute value