UserDefined implements XMLConvertible { @Override public void appendXMLContent(final XMLUtil util, final Appendable appendable) throws IOException { appendable.append("<meta:user-defined"); util.appendAttribute(appendable, "meta:name", this.name); util.appendAttribute(appendable, "meta:type", this.valueType.getValue()); appendable.append(">").append(this.value).append("</meta:user-defined>"); } UserDefined(final String name, final MetaValueType valueType, final String value); static UserDefined fromBoolean(final String name, final boolean value); static UserDefined fromDate(final String name, final Date value); static UserDefined fromFloat(final String name, final Number value); static UserDefined fromTime(final String name, final Date value); static UserDefined fromString(final String name, final String value); @Override void appendXMLContent(final XMLUtil util, final Appendable appendable);  }
@Test public void appendXMLContent() { }