/** * Creates an empty {@link Area} element. * * @return The new element. */ public static final Area area() { return new Area(); }
/** * {@doc HTML5.links#attr-hyperlink-hreflang hreflang} attribute. * * <p> * Language of the linked resource. * * @param hreflang The new value for this attribute. * @return This object (for method chaining). */ public final Area hreflang(String hreflang) { attr("hreflang", hreflang); return this; }
/** * Creates an {@link Area} element with the specified {@link Area#shape(String)}, {@link Area#coords(String)}, * and {@link Area#href(Object)} attributes. * * @param shape The {@link Area#shape(String)} attribute. * @param coords The {@link Area#coords(String)} attribute. * @param href The {@link Area#href(Object)} attribute. * @return The new element. */ public static final Area area(String shape, String coords, Object href) { return area().shape(shape).coords(coords).href(href); }
/** * {@doc HTML5.links#attr-hyperlink-href href} attribute. * * <p> * Address of the hyperlink. * * <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 href * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Area href(Object href) { attrUri("href", href); return this; }
"Map/Area-1", Map.class, map(area("rect", "0,1,2,3", "foo").alt("bar")).name("baz"),
/** * Creates an {@link Area} element with the specified {@link Area#shape(String)}, {@link Area#coords(String)}, * and {@link Area#href(Object)} attributes. * * @param shape The {@link Area#shape(String)} attribute. * @param coords The {@link Area#coords(String)} attribute. * @param href The {@link Area#href(Object)} attribute. * @return The new element. */ public static final Area area(String shape, String coords, Object href) { return area().shape(shape).coords(coords).href(href); }
/** * {@doc HTML5.links#attr-hyperlink-href href} attribute. * * <p> * Address of the hyperlink. * * <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 href * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Area href(Object href) { attrUri("href", href); return this; }
/** * Creates an {@link Area} element with the specified {@link Area#shape(String)}, {@link Area#coords(String)}, * and {@link Area#href(Object)} attributes. * * @param shape The {@link Area#shape(String)} attribute. * @param coords The {@link Area#coords(String)} attribute. * @param href The {@link Area#href(Object)} attribute. * @return The new element. */ public static final Area area(String shape, String coords, Object href) { return area().shape(shape).coords(coords).href(href); }
/** * {@doc HTML5.embedded-content-0#attr-area-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 Area alt(String alt) { attr("alt", alt); return this; }
/** * Creates an empty {@link Area} element. * * @return The new element. */ public static final Area area() { return new Area(); }
/** * {@doc HTML5.links#attr-hyperlink-href href} attribute. * * <p> * Address of the hyperlink. * * <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 href * The new value for this attribute. * Typically a {@link URL} or {@link String}. * @return This object (for method chaining). */ public final Area href(Object href) { attrUri("href", href); return this; }
/** * {@doc HTML5.links#attr-hyperlink-rel rel} attribute. * * <p> * Relationship between the document containing the hyperlink and the destination resource. * * @param rel The new value for this attribute. * @return This object (for method chaining). */ public final Area rel(String rel) { attr("rel", rel); return this; }
/** * Creates an empty {@link Area} element. * * @return The new element. */ public static final Area area() { return new Area(); }
/** * {@doc HTML5.embedded-content-0#attr-area-shape shape} attribute. * * <p> * The kind of shape to be created in an image map. * * @param shape The new value for this attribute. * @return This object (for method chaining). */ public final Area shape(String shape) { attr("shape", shape); return this; }
/** * {@doc HTML5.links#attr-hyperlink-target target} attribute. * * <p> * Browsing context for hyperlink navigation. * * @param target The new value for this attribute. * @return This object (for method chaining). */ public final Area target(String target) { attr("target", target); return this; }
/** * {@doc HTML5.links#attr-hyperlink-type type} attribute. * * <p> * Hint for the type of the referenced resource. * * @param type The new value for this attribute. * @return This object (for method chaining). */ public final Area type(String type) { attr("type", type); return this; }
/** * {@doc HTML5.embedded-content-0#attr-area-shape shape} attribute. * * <p> * The kind of shape to be created in an image map. * * @param shape The new value for this attribute. * @return This object (for method chaining). */ public final Area shape(String shape) { attr("shape", shape); return this; }
/** * {@doc HTML5.embedded-content-0#attr-area-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 Area alt(String alt) { attr("alt", alt); return this; }
/** * {@doc HTML5.links#attr-hyperlink-hreflang hreflang} attribute. * * <p> * Language of the linked resource. * * @param hreflang The new value for this attribute. * @return This object (for method chaining). */ public final Area hreflang(String hreflang) { attr("hreflang", hreflang); return this; }
/** * {@doc HTML5.embedded-content-0#attr-area-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 Area alt(String alt) { attr("alt", alt); return this; }