R
- the builder type returned from build methodspublic static class HtmlElementBuilderBase extends Object
ElementBuilderBase
that delegates to an
HtmlBuilderImpl
.
Subclasses of HtmlElementBuilderBase
act as typed wrappers around a
shared ElementBuilderBase
implementation that handles the actual
building. The wrappers merely delegate to the shared implementation, so
wrapper instances can be reused, avoiding object creation. This approach is
necessary so that the return value of common methods, such as
#id(String)
, return a typed builder instead of the generic
ElementBuilderBase
.
Copyright © 2018. All rights reserved.