|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NonNullByDefault public interface IRichStringIndentationHandler
The indentation handler encapsulates the logic of rich string indentation with respect to template and semantic whitespace per line.
Method Summary | |
---|---|
void |
accept(IRichStringPartAcceptor acceptor)
Announce the current indentation to the acceptor. |
java.lang.CharSequence |
getTotalIndentation()
Return the current indentation. |
java.lang.CharSequence |
getTotalSemanticIndentation()
Return the current semantic indentation. |
void |
popIndentation()
Drop the recently announced indentation and use the previous state. |
void |
pushSemanticIndentation(java.lang.CharSequence completeIndentation)
Announce semantic indentation. |
void |
pushTemplateIndentation(java.lang.CharSequence completeIndentation)
Announce template indentation. |
Method Detail |
---|
void pushTemplateIndentation(java.lang.CharSequence completeIndentation)
completeIndentation
- the leading whitespace of a line. May not be null
.void pushSemanticIndentation(java.lang.CharSequence completeIndentation)
completeIndentation
- the leading whitespace of a line. May not be null
.void popIndentation()
void accept(IRichStringPartAcceptor acceptor)
java.lang.CharSequence getTotalSemanticIndentation()
null
.java.lang.CharSequence getTotalIndentation()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |