public final class XmlIndentCheck
extends com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INDENT_SIZE
The default indent size: 4 spaces.
|
static String |
INDENT_SIZE_ATTRIBUTE
The
"indentSize" string. |
| Constructor and Description |
|---|
XmlIndentCheck()
Creates a new
XmlIndentCheck instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
beginProcessing(String aCharset) |
int |
getIndentSize() |
protected void |
processFiltered(File aFile,
List<String> aLines) |
void |
setIndentSize(int indentSize)
Sets the number of spaces for indentation.
|
destroy, finishProcessing, fireErrors, getMessageCollector, getMessageDispatcher, init, log, log, process, setFileExtensions, setMessageDispatchergetCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, log, setId, setSeverityconfigure, contextualize, finishLocalSetup, getConfiguration, setupChildpublic static final int DEFAULT_INDENT_SIZE
public static final String INDENT_SIZE_ATTRIBUTE
"indentSize" string.public XmlIndentCheck()
XmlIndentCheck instance.public void beginProcessing(String aCharset)
beginProcessing in interface com.puppycrawl.tools.checkstyle.api.FileSetCheckbeginProcessing in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheckAbstractFileSetCheck.beginProcessing(java.lang.String)public int getIndentSize()
protected void processFiltered(File aFile, List<String> aLines)
processFiltered in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.api.AbstractFileSetCheck#processFiltered(java.io.File,
java.util.List)public void setIndentSize(int indentSize)
indentSize - the number of spacesCopyright © 2015 Red Hat, Inc.. All Rights Reserved.