/** * Creates an empty {@link Img} element. * * @return The new element. */ public static final Img img() { return new Img(); }
/** * {@doc HTML5.embedded-content-0#attr-img-crossorigin crossorigin} * attribute. * * <p> * How the element handles cross-origin requests. * * @param crossorigin The new value for this attribute. * @return This object (for method chaining). */ public final Img crossorigin(String crossorigin) { attr("crossorigin", crossorigin); return this; }
/** * {@doc HTML5.embedded-content-0#attr-img-ismap ismap} attribute. * * <p> * Whether the image is a server-side image map. * * @param ismap * The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). */ public final Img ismap(Object ismap) { attr("ismap", deminimize(ismap, "ismap")); return this; }
/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
/** * {@doc HTML5.embedded-content-0#attr-img-src src} attribute. * * <p> * Address of the resource. * * <p> * The value can be of any of the following types: {@link URI}, {@link URL}, {@link String}. * Strings must be valid URIs. * * <p> * URIs defined by {@link UriResolver} can be used for values. * * @param src * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Img src(Object src) { attrUri("src", src); return this; }
/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
/** * {@doc HTML5.embedded-content-0#attr-img-src src} attribute. * * <p> * Address of the resource. * * <p> * The value can be of any of the following types: {@link URI}, {@link URL}, {@link String}. * Strings must be valid URIs. * * <p> * URIs defined by {@link UriResolver} can be used for values. * * @param src * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Img src(Object src) { attrUri("src", src); return this; }
/** * {@doc HTML5.embedded-content-0#attr-img-alt alt} attribute. * * <p> * Replacement text for use when images are not available. * * @param alt The new value for this attribute. * @return This object (for method chaining). */ public final Img alt(String alt) { attr("alt", alt); return this; }
/** * {@doc HTML5.embedded-content-0#attr-img-ismap ismap} attribute. * * <p> * Whether the image is a server-side image map. * * @param ismap * The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). */ public final Img ismap(Object ismap) { attr("ismap", deminimize(ismap, "ismap")); return this; }
/** * Creates an empty {@link Img} element. * * @return The new element. */ public static final Img img() { return new Img(); }
/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
/** * {@doc HTML5.embedded-content-0#attr-img-src src} attribute. * * <p> * Address of the resource. * * <p> * The value can be of any of the following types: {@link URI}, {@link URL}, {@link String}. * Strings must be valid URIs. * * <p> * URIs defined by {@link UriResolver} can be used for values. * * @param src * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Img src(Object src) { attrUri("src", src); return this; }
/** * {@doc HTML5.embedded-content-0#attr-img-crossorigin crossorigin} * attribute. * * <p> * How the element handles cross-origin requests. * * @param crossorigin The new value for this attribute. * @return This object (for method chaining). */ public final Img crossorigin(String crossorigin) { attr("crossorigin", crossorigin); return this; }
/** * {@doc HTML5.embedded-content-0#attr-img-ismap ismap} attribute. * * <p> * Whether the image is a server-side image map. * * @param ismap * The new value for this attribute. * Typically a {@link Boolean} or {@link String}. * @return This object (for method chaining). */ public final Img ismap(Object ismap) { attr("ismap", deminimize(ismap, "ismap")); return this; }
/** * Creates an empty {@link Img} element. * * @return The new element. */ public static final Img img() { return new Img(); }
/** * {@doc HTML5.embedded-content-0#attr-img-alt alt} attribute. * * <p> * Replacement text for use when images are not available. * * @param alt The new value for this attribute. * @return This object (for method chaining). */ public final Img alt(String alt) { attr("alt", alt); return this; }
/** * {@doc HTML5.embedded-content-0#attr-hyperlink-usemap usemap} * attribute. * * <p> * Name of image map to use. * * @param usemap The new value for this attribute. * @return This object (for method chaining). */ public final Img usemap(String usemap) { attr("usemap", usemap); return this; }