/**@class java.util.logging.XMLFormatter @extends java.util.logging.Formatter Format a LogRecord into a standard XML format. <p> The DTD specification is provided as Appendix A to the Java Logging APIs specification. <p> The XMLFormatter can be used with arbitrary character encodings, but it is recommended that it normally be used with UTF-8. The character encoding can be set on the output Handler. @since 1.4 */ var XMLFormatter = { /**Format the given message to XML. <p> This method can be overridden in a subclass. It is recommended to use the {@link java.util.logging.Formatter#formatMessage} convenience method to localize and format the message field. @param {Object {LogRecord}} record the log record to be formatted. @return {String} a formatted log record */ format : function( ) {}, /**Return the header string for a set of XML formatted records. @param {Object {Handler}} h The target handler (can be null) @return {String} a valid XML string */ getHead : function( ) {}, /**Return the tail string for a set of XML formatted records. @param {Object {Handler}} h The target handler (can be null) @return {String} a valid XML string */ getTail : function( ) {}, };