public final class PackageNamesLoader extends AbstractLoader
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String aNamespaceURI,
String aLocalName,
String aQName) |
static Set<String> |
getPackageNames(ClassLoader aClassLoader)
Returns the set of package names, compiled from all
checkstyle_packages.xml files found on the given classloaders
classpath.
|
void |
startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts) |
error, fatalError, parseInputSource, resolveEntity, warningcharacters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDeclpublic void startElement(String aNamespaceURI, String aLocalName, String aQName, Attributes aAtts) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String aNamespaceURI, String aLocalName, String aQName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerpublic static Set<String> getPackageNames(ClassLoader aClassLoader) throws CheckstyleException
aClassLoader - the class loader for loading the
checkstyle_packages.xml files.CheckstyleException - if an error occurs.Copyright © 2001–2015. All rights reserved.