- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Writes an element into the given writer.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(Writer out, ElementContext context) Writes the element into the given writer.
-
Method Details
-
writeTo
Writes the element into the given writer. This should include everything added before the body, the body itself, and everything after after the body.
For efficiency, this should not be called when the output would otherwise be discarded.
- Throws:
Exception
-