@Test public void text() { Markup m = Markup.text("Test"); assertNull(m.getType()); assertEquals("Test", m.getText()); assertNull(m.getAttributes()); }
public static Markup text(String text) { return new Markup(null, text, null); }
Markup { public static Markup text(String text) { return new Markup(null, text, null); } }
Markup { public static Markup text(String text) { return new Markup(null, text, null); }  }
Markup { public static Markup text(String text) { return new Markup(null, text, null); }  static Markup text(String text); static Markup of(String type); static Markup of(String type, Map<String, String> attributes); Markup attrs(Map<String, String> attributes); Markup attr(String name, String value); @JsonIgnore boolean isOnlyText(); }
Markup { public static Markup text(String text) { return new Markup(null, text, null); }  static Markup text(String text); static Markup of(String type); static Markup of(String type, Map<String, String> attributes); Markup attrs(Map<String, String> attributes); Markup attr(String name, String value); @JsonIgnore boolean isOnlyText();  }