public final class SuppressionsLoader extends XmlLoader
XmlLoader.FeaturesForVerySecureJavaInstallations| Modifier and Type | Method and Description |
|---|---|
static FilterSet |
loadSuppressions(String filename)
Returns the suppression filters in a specified file.
|
static Set<TreeWalkerFilter> |
loadXpathSuppressions(String filename)
Returns the suppression
TreeWalker filters in a specified file. |
void |
startElement(String namespaceUri,
String localName,
String qName,
Attributes attributes) |
error, fatalError, parseInputSource, resolveEntitycharacters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic void startElement(String namespaceUri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic static FilterSet loadSuppressions(String filename) throws CheckstyleException
filename - name of the suppressions file.CheckstyleException - if an error occurs.public static Set<TreeWalkerFilter> loadXpathSuppressions(String filename) throws CheckstyleException
TreeWalker filters in a specified file.filename - name of the suppressions file.CheckstyleException - if an error occurs.Copyright © 2001–2018. All rights reserved.