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, resolveEntity
characters, endDocument, endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void startElement(String namespaceUri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String namespaceUri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public 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.