/** * Creates a {@link Source} element with the specified {@link Source#src(Object)} and {@link Source#type(String)} * attributes. * * @param src The {@link Source#src(Object)} attribute. * @param type The {@link Source#type(String)} attribute. * @return The new element. */ public static final Source source(Object src, String type) { return source().src(src).type(type); }
/** * Creates a {@link Source} element with the specified {@link Source#src(Object)} and {@link Source#type(String)} * attributes. * * @param src The {@link Source#src(Object)} attribute. * @param type The {@link Source#type(String)} attribute. * @return The new element. */ public static final Source source(Object src, String type) { return source().src(src).type(type); }
/** * Creates a {@link Source} element with the specified {@link Source#src(Object)} and {@link Source#type(String)} * attributes. * * @param src The {@link Source#src(Object)} attribute. * @param type The {@link Source#type(String)} attribute. * @return The new element. */ public static final Source source(Object src, String type) { return source().src(src).type(type); }