/** * Assert that the given {@link Element} is compatible with this class and * automatically typecast it. */ public static FieldSetElement as(Element elem) { assert is(elem); return (FieldSetElement) elem; }
/** * Determines whether the given {@link JavaScriptObject} can be cast to * this class. A <code>null</code> object will cause this method to * return <code>false</code>. */ public static boolean is(JavaScriptObject o) { if (Element.is(o)) { return is((Element) o); } return false; }
/** * Determine whether the given {@link Node} can be cast to this class. * A <code>null</code> node will cause this method to return * <code>false</code>. */ public static boolean is(Node node) { if (Element.is(node)) { return is((Element) node); } return false; }
/** * Assert that the given {@link Element} is compatible with this class and * automatically typecast it. */ public static FieldSetElement as(Element elem) { assert is(elem); return (FieldSetElement) elem; }
/** * Assert that the given {@link Element} is compatible with this class and * automatically typecast it. */ public static FieldSetElement as(Element elem) { assert is(elem); return (FieldSetElement) elem; }
/** * Determines whether the given {@link JavaScriptObject} can be cast to * this class. A <code>null</code> object will cause this method to * return <code>false</code>. */ public static boolean is(JavaScriptObject o) { if (Element.is(o)) { return is((Element) o); } return false; }
/** * Determines whether the given {@link JavaScriptObject} can be cast to * this class. A <code>null</code> object will cause this method to * return <code>false</code>. */ public static boolean is(JavaScriptObject o) { if (Element.is(o)) { return is((Element) o); } return false; }
/** * Determine whether the given {@link Node} can be cast to this class. * A <code>null</code> node will cause this method to return * <code>false</code>. */ public static boolean is(Node node) { if (Element.is(node)) { return is((Element) node); } return false; }
/** * Determine whether the given {@link Node} can be cast to this class. * A <code>null</code> node will cause this method to return * <code>false</code>. */ public static boolean is(Node node) { if (Element.is(node)) { return is((Element) node); } return false; }