com.sun.idm.logging.audit
Class XmlFormatter

java.lang.Object
  extended bycom.sun.idm.logging.audit.XmlFormatter
All Implemented Interfaces:
AuditRecordFormatter, TextFormatter

public class XmlFormatter
extends java.lang.Object
implements AuditRecordFormatter

Formatter that serializes the event into XML format.


Field Summary
static java.lang.String CLASS
           
 
Fields inherited from interface com.sun.idm.logging.TextFormatter
code_id
 
Constructor Summary
XmlFormatter()
           
 
Method Summary
 java.lang.String format(java.util.Map record)
          Convert a log record to text.
 java.lang.String getDisplayName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS

public static final java.lang.String CLASS
See Also:
Constant Field Values
Constructor Detail

XmlFormatter

public XmlFormatter()
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface AuditRecordFormatter
Returns:
the display name string (or the message catalog key to the display name string) of the formatter implementation

format

public java.lang.String format(java.util.Map record)
Description copied from interface: TextFormatter
Convert a log record to text.

Specified by:
format in interface TextFormatter
Parameters:
record - - the record to convert
Returns:
a String containing the text representation of the record.