Package org.eclipse.net4j.util.ui.chat

# Klasse ChatRenderer

java.lang.Object
org.eclipse.net4j.util.ui.chat.ChatRenderer

Alle implementierten Schnittstellen:
  `Function<String,String>`, `UnaryOperator<String>`

public class ChatRenderer extends Object implements UnaryOperator<String>

Seit:
  3.19
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static interface`
`ChatRenderer.AvatarGenerator`
`static final class`
`ChatRenderer.Bubble`
`static final class`
`ChatRenderer.BubbleGroup`
`static final class`
`ChatRenderer.DateLine`
`static class`
`ChatRenderer.Factory`
`static class`
`ChatRenderer.Renderable`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final DateTimeFormatter`
`DATE_FORMATTER`
`static final DateTimeFormatter`
`TIME_FORMATTER`
`static final DateTimeFormatter`
`WEEKDAY_FORMATTER`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ChatRenderer()`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`String`
`apply(String markup)`
`URI`
`getAvatar(ChatMessage.Author author, Map<String,Object> properties)`
`String`
`getDateString(LocalDate date, Map<String,Object> properties)`
`protected Pair<String,String>`
`getHTMLEnclosure(Map<String,Object> properties)`
`String`
`getNonBreakableString(String str)`
`protected String`
`loadHTMLTemplate()`
`void`
`renderHTML(Iterable<ChatRenderer.Renderable> renderables, StringBuilder html, Map<String,Object> properties)`
`String`
`renderHTML(Iterable<ChatRenderer.Renderable> renderables, Map<String,Object> properties)`
`void`
`renderHTML(String markup, StringBuilder html, Map<String,Object> properties)`
`String`
`renderHTML(String markup, Map<String,Object> properties)`
`void`
`renderHTML(ChatMessage.Author author, StringBuilder html, Map<String,Object> properties)`
`void`
`renderHTML(ChatRenderer.BubbleGroup bubbleGroup, StringBuilder html, Map<String,Object> properties)`
`void`
`renderHTML(ChatRenderer.Bubble bubble, StringBuilder html, Map<String,Object> properties)`
`void`
`renderHTML(ChatRenderer.DateLine dateLine, StringBuilder html, Map<String,Object> properties)`
`String`
`stripMarkup(String markup)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Von Schnittstelle geerbte Methoden java.util.function.Function

`andThen, compose`

## Felddetails

### WEEKDAY_FORMATTER

public static final DateTimeFormatter WEEKDAY_FORMATTER

### DATE_FORMATTER

public static final DateTimeFormatter DATE_FORMATTER

### TIME_FORMATTER

public static final DateTimeFormatter TIME_FORMATTER

## Konstruktordetails

### ChatRenderer

public ChatRenderer()

## Methodendetails

### renderHTML

public String renderHTML(Iterable<ChatRenderer.Renderable> renderables, Map<String,Object> properties)

### renderHTML

public void renderHTML(Iterable<ChatRenderer.Renderable> renderables, StringBuilder html, Map<String,Object> properties)

### renderHTML

public void renderHTML(ChatRenderer.DateLine dateLine, StringBuilder html, Map<String,Object> properties)

### renderHTML

public void renderHTML(ChatMessage.Author author, StringBuilder html, Map<String,Object> properties)

### renderHTML

public void renderHTML(ChatRenderer.BubbleGroup bubbleGroup, StringBuilder html, Map<String,Object> properties)

### renderHTML

public void renderHTML(ChatRenderer.Bubble bubble, StringBuilder html, Map<String,Object> properties)

### renderHTML

public void renderHTML(String markup, StringBuilder html, Map<String,Object> properties)

### renderHTML

public String renderHTML(String markup, Map<String,Object> properties)

### apply

public String apply(String markup)

Angegeben von:
  `apply` in Schnittstelle `Function<String,String>`

### stripMarkup

public String stripMarkup(String markup)

### getDateString

public String getDateString(LocalDate date, Map<String,Object> properties)

### getNonBreakableString

public String getNonBreakableString(String str)

### getAvatar

public URI getAvatar(ChatMessage.Author author, Map<String,Object> properties)

### getHTMLEnclosure

protected Pair<String,String> getHTMLEnclosure(Map<String,Object> properties)

### loadHTMLTemplate

protected String loadHTMLTemplate()