com.android.ide.common.xml
Interface AndroidManifestParser.ManifestErrorHandler
- All Superinterfaces:
- org.xml.sax.ErrorHandler
- Enclosing class:
- AndroidManifestParser
public static interface AndroidManifestParser.ManifestErrorHandler
- extends org.xml.sax.ErrorHandler
Method Summary |
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. |
Methods inherited from interface org.xml.sax.ErrorHandler |
error, fatalError, warning |
handleError
void handleError(java.lang.Exception exception,
int lineNumber)
- Handles a parsing error and an optional line number.
checkClass
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.
Errors are put as
org.eclipse.core.resources.IMarker
on the manifest file.
- Parameters:
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.