public static interface AndroidManifestParser.ManifestErrorHandler
extends org.xml.sax.ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
checkClass(org.xml.sax.Locator locator,
java.lang.String className,
java.lang.String superClassName,
boolean testVisibility)
Checks that a class is valid and can be used in the Android Manifest.
|
void |
handleError(java.lang.Exception exception,
int lineNumber)
Handles a parsing error and an optional line number.
|
void handleError(java.lang.Exception exception, int lineNumber)
void checkClass(org.xml.sax.Locator locator, java.lang.String className, java.lang.String superClassName, boolean testVisibility)
Errors are put as org.eclipse.core.resources.IMarker
on the manifest file.
locator
- className
- the fully qualified name of the class to test.superClassName
- the fully qualified name of the class it is supposed to extend.testVisibility
- if true
, the method will check the visibility of
the class or of its constructors.