/** * Creates an empty {@link Map} element. * * @return The new element. */ public static final Map map() { return new Map(); }
/** * {@doc HTML5.embedded-content-0#attr-map-name name} attribute. * * <p> * Name of image map to reference from the usemap attribute. * * @param name The new value for this attribute. * @return This object (for method chaining). */ public final Map name(String name) { attr("name", name); return this; }
/** * Creates a {@link Map} element with the specified child nodes. * * @param children The child nodes. * @return The new element. */ public static final Map map(Object...children) { return map().children(children); }
@Override public void verify(Map o) { assertInstanceOf(Map.class, o); assertInstanceOf(Area.class, o.getChild(0)); } }
"Map/Area-1", Map.class, map(area("rect", "0,1,2,3", "foo").alt("bar")).name("baz"),
/** * Creates a {@link Map} element with the specified child nodes. * * @param children The child nodes. * @return The new element. */ public static final Map map(Object...children) { return map().children(children); }
/** * Creates an empty {@link Map} element. * * @return The new element. */ public static final Map map() { return new Map(); }
/** * Creates a {@link Map} element with the specified child nodes. * * @param children The child nodes. * @return The new element. */ public static final Map map(Object...children) { return map().children(children); }
/** * {@doc HTML5.embedded-content-0#attr-map-name name} attribute. * * <p> * Name of image map to reference from the usemap attribute. * * @param name The new value for this attribute. * @return This object (for method chaining). */ public final Map name(String name) { attr("name", name); return this; }
/** * Creates an empty {@link Map} element. * * @return The new element. */ public static final Map map() { return new Map(); }
/** * {@doc HTML5.embedded-content-0#attr-map-name name} attribute. * * <p> * Name of image map to reference from the usemap attribute. * * @param name The new value for this attribute. * @return This object (for method chaining). */ public final Map name(String name) { attr("name", name); return this; }