Package org.codehaus.mojo.xml.format
Class IndentCheckSaxHandler.Indent
- java.lang.Object
-
- org.codehaus.mojo.xml.format.IndentCheckSaxHandler.Indent
-
- Enclosing class:
- IndentCheckSaxHandler
private static class IndentCheckSaxHandler.Indent extends java.lang.Object
An indent occurrence within a file characterized bylineNumber
andsize
.
-
-
Field Summary
Fields Modifier and Type Field Description private int
lineNumber
The line number where thisIndentCheckSaxHandler.Indent
occurs.private int
size
The number of spaces in thisIndentCheckSaxHandler.Indent
.static IndentCheckSaxHandler.Indent
START
AnIndentCheckSaxHandler.Indent
usable at the beginning of a typical XML file.
-
Constructor Summary
Constructors Constructor Description Indent(int lineNumber, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
START
public static final IndentCheckSaxHandler.Indent START
AnIndentCheckSaxHandler.Indent
usable at the beginning of a typical XML file.
-
lineNumber
private final int lineNumber
The line number where thisIndentCheckSaxHandler.Indent
occurs. The first line number in a file is1
.
-
size
private final int size
The number of spaces in thisIndentCheckSaxHandler.Indent
.
-
-