public static class IndentCharacters.EnumerationCharacter extends IndentCharacters.IndentCharacter
-#{a):7em} indicates an enumeration indentation of 7
characters in markup, using a)...b)...etc as the
enumeration. The number, the unit, enumeration type/separator, and the
brackets are optional. Default indentation is 4 characters, default unit is
em. Default enumeration are arabic numbers, the separator
depends on the enumerator by default ('.' for arabic). For available
enumerators see EnumeratorFactory.It can be escaped with a
backslash ('\').| Modifier and Type | Field and Description |
|---|---|
protected Enumerator |
enumerator |
protected String |
separator |
indentUnit, indentWidth, level| Modifier | Constructor and Description |
|---|---|
protected |
EnumerationCharacter(String level,
String indentWidth,
String indentUnit,
String enumerationType,
String separator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
protected String |
nextLabel() |
createNewIndent, getLevelcharAt, escape, getCharacterToEscape, length, mustEscape, subSequence, toString, unescapeclone, finalize, getClass, notify, notifyAll, wait, wait, waitchars, codePointsprotected Enumerator enumerator
protected String separator
protected String nextLabel()
nextLabel in class IndentCharacters.IndentCharacterpublic int hashCode()
hashCode in class IndentCharacters.IndentCharacterpublic boolean equals(Object obj)
equals in class IndentCharacters.IndentCharacterCopyright © 2022. All rights reserved.