@Override /* HtmlElement */ public final Label _class(String _class) { super._class(_class); return this; }
@Override /* HtmlElementMixed */ public A child(Object child) { super.child(child); return this; } }
@Override /* HtmlElementMixed */ public Meter children(Object...children) { super.children(children); return this; }
@Override /* HtmlElement */ public final A id(String id) { super.id(id); return this; }
@Override /* HtmlElement */ public final Blockquote style(String style) { super.style(style); return this; }
/** * Returns the child node at the specified address. * * <p> * Indexes are zero-indexed. * * <p> * For example, calling <code>getChild(1,2,3);</code> will return the 4th child of the 3rd child of the 2nd child. * * @param index The child indexes. * @return The child node, or <jk>null</jk> if it doesn't point to a valid child. */ public Object getChild(int...index) { if (index.length == 0) return null; if (index.length == 1) return getChild(index[0]); Object c = this; for (int i = 0; i < index.length; i++) { if (c instanceof HtmlElementMixed) c = ((HtmlElementMixed)c).getChild(index[i]); else if (c instanceof HtmlElementContainer) c = ((HtmlElementContainer)c).getChild(index[i]); else return null; } return c; }
@Override /* HtmlElement */ public Bdo dir(String dir) { super.dir(dir); return this; }
@Override /* HtmlElement */ public final Abbr title(String title) { super.title(title); return this; }
@Xml(format=MIXED_PWS) @BeanProperty(beanDictionary=HtmlBeanDictionary.class, name="c") @Override public LinkedList<Object> getChildren() { return super.getChildren(); }
@Override /* HtmlElement */ public final Dt id(String id) { super.id(id); return this; }
@Override /* HtmlElement */ public final Strong style(String style) { super.style(style); return this; }
/** * Returns the child node at the specified address. * * <p> * Indexes are zero-indexed. * * <p> * For example, calling <code>getChild(1,2,3);</code> will return the 4th child of the 3rd child of the 2nd child. * * @param index The child indexes. * @return The child node, or <jk>null</jk> if it doesn't point to a valid child. */ public Object getChild(int...index) { if (index.length == 0) return null; if (index.length == 1) return getChild(index[0]); Object c = this; for (int i = 0; i < index.length; i++) { if (c instanceof HtmlElementMixed) c = ((HtmlElementMixed)c).getChild(index[i]); else if (c instanceof HtmlElementContainer) c = ((HtmlElementContainer)c).getChild(index[i]); else return null; } return c; }
@Override /* HtmlElement */ public Bdo dir(String dir) { super.dir(dir); return this; }
@Override /* HtmlElement */ public final Abbr title(String title) { super.title(title); return this; }
@Xml(format=MIXED_PWS) @BeanProperty(beanDictionary=HtmlBeanDictionary.class, name="c") @Override public LinkedList<Object> getChildren() { return super.getChildren(); }
@Override /* HtmlElement */ public final Sub id(String id) { super.id(id); return this; }
@Override /* HtmlElement */ public final Dt style(String style) { super.style(style); return this; }
@Override /* HtmlElement */ public final Dt _class(String _class) { super._class(_class); return this; }
@Override /* HtmlElementMixed */ public H6 children(Object...children) { super.children(children); return this; }
@Override /* HtmlElementMixed */ public Label child(Object child) { super.child(child); return this; } }