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.ObjectAn indent occurrence within a file characterized bylineNumberandsize.
-
-
Field Summary
Fields Modifier and Type Field Description private intlineNumberThe line number where thisIndentCheckSaxHandler.Indentoccurs.private intsizeThe number of spaces in thisIndentCheckSaxHandler.Indent.static IndentCheckSaxHandler.IndentSTARTAnIndentCheckSaxHandler.Indentusable 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.StringtoString()
-
-
-
Field Detail
-
START
public static final IndentCheckSaxHandler.Indent START
AnIndentCheckSaxHandler.Indentusable at the beginning of a typical XML file.
-
lineNumber
private final int lineNumber
The line number where thisIndentCheckSaxHandler.Indentoccurs. The first line number in a file is1.
-
size
private final int size
The number of spaces in thisIndentCheckSaxHandler.Indent.
-
-