com.puppycrawl.tools.checkstyle
public class XMLLogger extends AutomaticBean implements AuditListener
| Constructor Summary | |
|---|---|
| XMLLogger(OutputStream aOS, boolean aCloseStream)
Creates a new XMLLogger instance.
| |
| Method Summary | |
|---|---|
| void | addError(AuditEvent aEvt) |
| void | addException(AuditEvent aEvt, Throwable aThrowable) |
| void | auditFinished(AuditEvent aEvt) |
| void | auditStarted(AuditEvent aEvt) |
| String | encode(String aValue)
Escape <, > & ' and " as their entities. |
| void | fileFinished(AuditEvent aEvt) |
| void | fileStarted(AuditEvent aEvt) |
| boolean | isReference(String aEnt) |
XMLLogger instance.
Sets the output to a defined stream.Parameters: aOS the stream to write logs to. aCloseStream close aOS in auditFinished
Parameters: aValue the value to escape.
Returns: the escaped value if necessary.
Parameters: aEnt the possible entity to look for.
Returns: whether the given argument a character or entity reference