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 intThe line number where thisIndentCheckSaxHandler.Indentoccurs.private final intThe number of spaces in thisIndentCheckSaxHandler.Indent.static final IndentCheckSaxHandler.IndentAnIndentCheckSaxHandler.Indentusable at the beginning of a typical XML file. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
START
AnIndentCheckSaxHandler.Indentusable at the beginning of a typical XML file. -
lineNumber
private final int lineNumberThe line number where thisIndentCheckSaxHandler.Indentoccurs. 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