/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
/** * Creates an {@link Img} element with the specified {@link Img#src(Object)} attribute. * * @param src The {@link Img#src(Object)} attribute. * @return The new element. */ public static final Img img(Object src) { return img().src(src); }
@Override public Object getContent(SerializerSession session, Species value) { return new Img().src("servlet:/htdocs/"+value.name().toLowerCase()+".png"); } @Override
@Override public Object getContent(SerializerSession session, Species value) { return new Img().src("servlet:/htdocs/"+value.name().toLowerCase()+".png"); } @Override