|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.puppycrawl.tools.checkstyle.api.AbstractLoader
com.puppycrawl.tools.checkstyle.PackageNamesLoader
Loads a list of package names from a package name XML file.
| Method Summary | |
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)
|
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractLoader |
error, fatalError, parseInputSource, resolveEntity, warning |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void startElement(String aNamespaceURI,
String aLocalName,
String aQName,
Attributes aAtts)
throws SAXException
SAXException
public void endElement(String aNamespaceURI,
String aLocalName,
String aQName)
public 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.
|
Back to the Checkstyle Home Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||