Interface HtmlTagBuilder
public interface HtmlTagBuilder
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptionappend()
Returns builder for appending content of this tag, never returns null.Returns builder for setting attributes of this tag, never returns null.void
finished()
This method will be only for performance improvements in the future, but now it should be called after the client is finished adding content, because it ensures interoperability with some old code.
-
Method Details
-
finished
void finished()This method will be only for performance improvements in the future, but now it should be called after the client is finished adding content, because it ensures interoperability with some old code.- Throws:
IllegalStateException
- if already was called before
-
attributes
Returns builder for setting attributes of this tag, never returns null.- Throws:
IllegalStateException
- afterfinished()
was called.
-
append
Returns builder for appending content of this tag, never returns null. Can be called multiple times on the same instance and it will return always the same instance of the content builder- Throws:
IllegalStateException
- afterfinished()
was called.
-