| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private Runnable | |
| private SequenceBuilder | |
| private final NodeVisitor |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | collect(BasedSequence basedSequence, EnumeratedReferenceRendering[] renderings, String defaultFormat)
|
| public String | collectAndGetText(BasedSequence basedSequence, EnumeratedReferenceRendering[] renderings, String defaultFormat)
|
| public String | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| ordinalRunnable | back to summary |
|---|---|
| private Runnable ordinalRunnable | |
| out | back to summary |
|---|---|
| private SequenceBuilder out | |
| visitor | back to summary |
|---|---|
| private final NodeVisitor visitor | |
| EnumRefTextCollectingVisitor | back to summary |
|---|---|
| public EnumRefTextCollectingVisitor() | |
| EnumRefTextCollectingVisitor | back to summary |
|---|---|
| public EnumRefTextCollectingVisitor(int ordinal) | |
| collect | back to summary |
|---|---|
| public void collect(BasedSequence basedSequence, EnumeratedReferenceRendering[] renderings, String defaultFormat) | |
| collectAndGetText | back to summary |
|---|---|
| public String collectAndGetText(BasedSequence basedSequence, EnumeratedReferenceRendering[] renderings, String defaultFormat) | |
| getText | back to summary |
|---|---|
| public String getText() | |
| visit | back to summary |
|---|---|
| private void visit(EnumeratedReferenceText node) | |
| visit | back to summary |
|---|---|
| private void visit(EnumeratedReferenceLink node) | |
| visit | back to summary |
|---|---|
| private void visit(SoftLineBreak node) | |
| visit | back to summary |
|---|---|
| private void visit(HardLineBreak node) | |
| visit | back to summary |
|---|---|
| private void visit(HtmlEntity node) | |
| visit | back to summary |
|---|---|
| private void visit(Text node) | |
| visit | back to summary |
|---|---|
| private void visit(TextBase node) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final EnumRefTextCollectingVisitor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | endRendering()
Implements com. After Rendering is complete |
| public Runnable | getEnumOrdinalRunnable()
Implements com. Return current enum ordinal runnable, used to save previous state |
| public void | render(int
ordinal for the reference referenceOrdinal, EnumeratedReferenceBlock reference format or null referenceFormat, String default text to use if referenceFormat is null or not being used defaultText, boolean true if need to add separator character after output of referenceOrdinal
needSeparator)Should set current enum ordinal runnable to output the given referenceOrdinal if referenceFormat is not null the runnable is saved before this call and restored after so there is no need to save its value. Note if referenceFormat is null and the current runnable is not null then it should be run after output of default text and before output of referenceOrdinal, to make sure that parent compound ordinal formats are output. Implements com. Render individual reference format |
| public void | setEnumOrdinalRunnable(Runnable
runnable runnable)Implements com. Execute this runnable when empty enum text or link is encountered |
| public void | startRendering(EnumeratedReferenceRendering[]
renderings which will be rendered renderings)Implements com. Start of rendering for all renderings |
| renderer | back to summary |
|---|---|
| pack-priv final EnumRefTextCollectingVisitor renderer | |
| OrdinalRenderer | back to summary |
|---|---|
| public OrdinalRenderer(EnumRefTextCollectingVisitor renderer) | |
| endRendering | back to summary |
|---|---|
| public void endRendering() Implements com. Doc from com. After Rendering is complete
| |
| getEnumOrdinalRunnable | back to summary |
|---|---|
| public Runnable getEnumOrdinalRunnable() Implements com. Doc from com. Return current enum ordinal runnable, used to save previous state | |
| render | back to summary |
|---|---|
| public void render(int referenceOrdinal, EnumeratedReferenceBlock referenceFormat, String defaultText, boolean needSeparator) Implements com. Doc from com. Render individual reference format
| |
| setEnumOrdinalRunnable | back to summary |
|---|---|
| public void setEnumOrdinalRunnable(Runnable runnable) Implements com. Doc from com. Execute this runnable when empty enum text or link is encountered | |
| startRendering | back to summary |
|---|---|
| public void startRendering(EnumeratedReferenceRendering[] renderings) Implements com. Doc from com. Start of rendering for all renderings
| |