/** * End the current element. * * @see #end() */ public void endTitle() { end(TitleElement.TAG); }
/** * Add an attribute with a trusted name. The name is still escaped. */ R trustedAttribute(String name, String value) { delegate.trustedAttribute(name, value); return getReturnBuilder(); } }
/** * Stamps an HTML element in such a way that it can be later found in the DOM tree. * To be used by {@link IsRenderable} objects built using ElementBuilder, this assumes * the given elementBuilder is for the root element that should later be claimed. */ public <T extends HtmlElementBuilderBase<?>> T stamp(T elementBuilder) { elementBuilder.id(token); return elementBuilder; } }
@Override public R lang(String lang) { return trustedAttribute("lang", lang); }
@Override public StyleBuilder cssText(String cssText) { // Append style rules as you would append inner text. return super.text(cssText); }
@Override public R className(String className) { return trustedAttribute("class", className); }
@Override public StyleBuilder cssText(String cssText) { // Append style rules as you would append inner text. return super.text(cssText); }
@Override public R dir(String dir) { return trustedAttribute("dir", dir); }
/** * Add an attribute with a trusted name. */ R trustedAttribute(String name, int value) { delegate.trustedAttribute(name, value); return getReturnBuilder(); }
@Override public StyleBuilder cssText(String cssText) { // Append style rules as you would append inner text. return super.text(cssText); }
/** * End the current element. * * @see #end() */ public void endTitle() { end(TitleElement.TAG); }
/** * Stamps an HTML element in such a way that it can be later found in the DOM tree. * To be used by {@link IsRenderable} objects built using ElementBuilder, this assumes * the given elementBuilder is for the root element that should later be claimed. */ public <T extends HtmlElementBuilderBase<?>> T stamp(T elementBuilder) { elementBuilder.id(token); return elementBuilder; } }
@Override public R draggable(String draggable) { return trustedAttribute("draggable", draggable); }
@Override public R attribute(String name, int value) { delegate.attribute(name, value); return getReturnBuilder(); }
/** * End the current element. * * @see #end() */ public void endTitle() { end(TitleElement.TAG); }
/** * Stamps an HTML element in such a way that it can be later found in the DOM tree. * To be used by {@link IsRenderable} objects built using ElementBuilder, this assumes * the given elementBuilder is for the root element that should later be claimed. */ public <T extends HtmlElementBuilderBase<?>> T stamp(T elementBuilder) { elementBuilder.id(token); return elementBuilder; } }
@Override public R id(String id) { return trustedAttribute("id", id); }
@Override public R attribute(String name, String value) { delegate.attribute(name, value); return getReturnBuilder(); }
@Override public R tabIndex(int tabIndex) { return trustedAttribute("tabIndex", tabIndex); }
@Override public R attribute(String name, int value) { delegate.attribute(name, value); return getReturnBuilder(); }