public final class ImportControlLoader extends XmlLoader
XmlLoader.LoadExternalDtdFeatureProvider| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String namespaceUri,
String localName,
String qName) |
static com.puppycrawl.tools.checkstyle.checks.imports.PkgImportControl |
load(URI uri)
Loads the import control file from a file.
|
void |
startElement(String namespaceUri,
String localName,
String qName,
Attributes attributes) |
error, parseInputSource, resolveEntitycharacters, endDocument, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void startElement(String namespaceUri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String namespaceUri, String localName, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic static com.puppycrawl.tools.checkstyle.checks.imports.PkgImportControl load(URI uri) throws CheckstyleException
uri - the uri of the file to load.PkgImportControl object.CheckstyleException - if an error occurs.Copyright © 2001–2020. All rights reserved.