|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.android.tools.lint.detector.api.Detector com.android.tools.lint.detector.api.ResourceXmlDetector com.android.tools.lint.detector.api.LayoutDetector com.android.tools.lint.checks.NamespaceDetector
public class NamespaceDetector
Checks for various issues related to XML namespaces
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.android.tools.lint.detector.api.Detector |
---|
com.android.tools.lint.detector.api.Detector.ClassScanner, com.android.tools.lint.detector.api.Detector.GradleScanner, com.android.tools.lint.detector.api.Detector.JavaScanner, com.android.tools.lint.detector.api.Detector.OtherFileScanner, com.android.tools.lint.detector.api.Detector.XmlScanner |
Field Summary | |
---|---|
static com.android.tools.lint.detector.api.Issue |
CUSTOM_VIEW
Using custom namespace attributes in a library project |
static com.android.tools.lint.detector.api.Issue |
RES_AUTO
Unused namespace declarations |
static com.android.tools.lint.detector.api.Issue |
TYPO
Typos in the namespace |
static com.android.tools.lint.detector.api.Issue |
UNUSED
Unused namespace declarations |
Fields inherited from interface com.android.tools.lint.detector.api.Detector.XmlScanner |
---|
ALL |
Constructor Summary | |
---|---|
NamespaceDetector()
Constructs a new NamespaceDetector |
Method Summary | |
---|---|
com.android.tools.lint.detector.api.Speed |
getSpeed()
|
void |
visitDocument(com.android.tools.lint.detector.api.XmlContext context,
org.w3c.dom.Document document)
|
Methods inherited from class com.android.tools.lint.detector.api.LayoutDetector |
---|
appliesTo, hasPadding, isHeightFillParent, isWidthFillParent |
Methods inherited from class com.android.tools.lint.detector.api.ResourceXmlDetector |
---|
appliesTo, run |
Methods inherited from class com.android.tools.lint.detector.api.Detector |
---|
afterCheckFile, afterCheckLibraryProject, afterCheckProject, appliesToFolder, appliesToResourceRefs, beforeCheckFile, beforeCheckLibraryProject, beforeCheckProject, checkCall, checkClass, checkInstruction, createJavaVisitor, getApplicableAsmNodeTypes, getApplicableAttributes, getApplicableCallNames, getApplicableCallOwners, getApplicableElements, getApplicableFiles, getApplicableMethodNames, getApplicableNodeTypes, visitAttribute, visitBuildScript, visitElement, visitElementAfter, visitMethod, visitResourceReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.android.tools.lint.detector.api.Detector.XmlScanner |
---|
getApplicableAttributes, getApplicableElements, visitAttribute, visitElement, visitElementAfter |
Field Detail |
---|
public static final com.android.tools.lint.detector.api.Issue TYPO
public static final com.android.tools.lint.detector.api.Issue UNUSED
public static final com.android.tools.lint.detector.api.Issue CUSTOM_VIEW
public static final com.android.tools.lint.detector.api.Issue RES_AUTO
Constructor Detail |
---|
public NamespaceDetector()
NamespaceDetector
Method Detail |
---|
@NonNull public com.android.tools.lint.detector.api.Speed getSpeed()
getSpeed
in class com.android.tools.lint.detector.api.Detector
public void visitDocument(@NonNull com.android.tools.lint.detector.api.XmlContext context, @NonNull org.w3c.dom.Document document)
visitDocument
in interface com.android.tools.lint.detector.api.Detector.XmlScanner
visitDocument
in class com.android.tools.lint.detector.api.Detector
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |