Package eu.bandm.tools.format.spi
Interface FormatClient
- All Known Implementing Classes:
Automaton
,Automaton.State
,Behavior
,CodePointMap
,DAutomaton
,NAutomaton
,TokenFragment
,ZAutomaton
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implementations have the capability to represent objects in a
human-readable, pretty-printable way.
This interface can be implemented by a business class; then each object should represent itself. Alternatively, lambdas can use this interface as their target type; they function as delegates that represent other objects.
-
Method Summary
Modifier and TypeMethodDescription<F> F
format
(FormatServer<F> server) Represent this or the underlying object in a human-readable, pretty-printable way.
-
Method Details
-
format
Represent this or the underlying object in a human-readable, pretty-printable way.- Type Parameters:
F
- the type of format objects to produce- Parameters:
server
- a factory object that can produce format objects- Returns:
- a format object produced by the server
-