public final class PackageNamesLoader extends AbstractLoader
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String namespaceURI,
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 classloaders
classpath.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
error, fatalError, parseInputSource, resolveEntity, warningcharacters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDeclpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String namespaceURI, String localName, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.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–2015. All rights reserved.