public final class PackageNamesLoader extends AbstractLoader
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String aNamespaceURI,
String aLocalName,
String aQName) |
static ModuleFactory |
loadModuleFactory(ClassLoader aClassLoader)
Returns the default list of package names.
|
static ModuleFactory |
loadModuleFactory(String aFilename)
Returns the package names in a specified file.
|
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 DefaultHandlerSAXExceptionpublic void endElement(String aNamespaceURI, String aLocalName, String aQName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic static ModuleFactory loadModuleFactory(ClassLoader aClassLoader) throws CheckstyleException
aClassLoader - the class loader that gets the
default package names.CheckstyleException - if an error occurs.public static ModuleFactory loadModuleFactory(String aFilename) throws CheckstyleException
aFilename - name of the package file.CheckstyleException - if an error occurs.