/** * Writes a tag. * * @param tag * The tag to write. * @return This writer. */ public static String write(Tag tag) { return tag.format(); }
/** {@inheritDoc} */ @Override public int hashCode() { return format().hashCode(); }
/** {@inheritDoc} */ @Override public int hashCode() { return format().hashCode(); }
/** {@inheritDoc} */ @Override public int hashCode() { return format().hashCode(); }
/** * Convert the supplied value to a String. * * @param value * the value of type <code>T</code> * @return a String representation of the value * @throws IllegalArgumentException * if the supplied object cannot be serialized * @see javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate#toString(java.lang.Object) */ public String toString(EntityTag entityTag) { return Converter.toRestletTag(entityTag).format(); } }