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, resolveEntity
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public void startElement(String namespaceUri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public 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.