public final class PackageNamesLoader extends XmlLoader
XmlLoader.FeaturesForVerySecureJavaInstallations| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String uri,
String localName,
String qName) |
static Set<String> |
getPackageNames(ClassLoader classLoader)
Returns the set of package names, compiled from all
checkstyle_packages.xml files found on the given class loaders
classpath.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
error, fatalError, parseInputSource, resolveEntitycharacters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void startElement(String uri, String localName, String qName, Attributes attributes)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic static Set<String> getPackageNames(ClassLoader classLoader) throws CheckstyleException
classLoader - the class loader for loading the
checkstyle_packages.xml files.CheckstyleException - if an error occurs.Copyright © 2001–2018. All rights reserved.