/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s * The text to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj * The object to translate to a string and add to the XML * document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date * The date to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }
/** * Adds the specified value as Base64 encoded text to the current position of the in * progress XML document. * * @param b * The binary data to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(ByteBuffer b) { append(escapeXMLEntities(Base64.encodeAsString(BinaryUtils.copyBytesFrom(b)))); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj The object to translate to a string and add to the XML * document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s The text to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj * The object to translate to a string and add to the XML * document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s * The text to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date The date to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date * The date to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }
/** * Adds the specified value as Base64 encoded text to the current position of the in * progress XML document. * * @param b * The binary data to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(ByteBuffer b) { append(escapeXMLEntities(Base64.encodeAsString(BinaryUtils.copyBytesFrom(b)))); return this; }
/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s The text to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s The text to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj The object to translate to a string and add to the XML * document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the specified value as text to the current position of the in * progress XML document. * * @param s * The text to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(String s) { append(escapeXMLEntities(s)); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj The object to translate to a string and add to the XML * document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the string representation of the specified object to the current * position of the in progress XML document. * * @param obj * The object to translate to a string and add to the XML * document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Object obj) { append(escapeXMLEntities(obj.toString())); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date The date to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date The date to add to the XML document. * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }
/** * Adds the specified date as text to the current position of the * in-progress XML document. * * @param date * The date to add to the XML document. * * @return This XMLWriter so that additional method calls can be chained * together. */ public XMLWriter value(Date date) { append(escapeXMLEntities(StringUtils.fromDate(date))); return this; }