Package org.codehaus.mojo.xml.format
Class IndentCheckSaxHandler.Indent
java.lang.Object
org.codehaus.mojo.xml.format.IndentCheckSaxHandler.Indent
- Enclosing class:
IndentCheckSaxHandler
An indent occurrence within a file characterized by
lineNumber
and size
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
The line number where thisIndentCheckSaxHandler.Indent
occurs.private final int
The number of spaces in thisIndentCheckSaxHandler.Indent
.static final IndentCheckSaxHandler.Indent
AnIndentCheckSaxHandler.Indent
usable at the beginning of a typical XML file. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
START
AnIndentCheckSaxHandler.Indent
usable at the beginning of a typical XML file. -
lineNumber
private final int lineNumberThe line number where thisIndentCheckSaxHandler.Indent
occurs. The first line number in a file is1
. -
size
private final int sizeThe number of spaces in thisIndentCheckSaxHandler.Indent
.
-
-
Constructor Details
-
Indent
public Indent(int lineNumber, int size)
-
-
Method Details