public class XmlLogVisitor extends Object implements LogVisitor
| Constructor and Description |
|---|
XmlLogVisitor(OutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
endCollection(CollectionElement collection) |
void |
endLine(LineElement line) |
void |
exception(ExceptionResult ex) |
void |
message(MessageResult msg) |
void |
openLine(LineElement line) |
void |
startCollection(CollectionElement collection) |
public XmlLogVisitor(OutputStream output)
public void startCollection(CollectionElement collection) throws IOException
startCollection in interface LogVisitorIOExceptionpublic void endCollection(CollectionElement collection) throws IOException
endCollection in interface LogVisitorIOExceptionpublic void openLine(LineElement line) throws IOException
openLine in interface LogVisitorIOExceptionpublic void endLine(LineElement line) throws IOException
endLine in interface LogVisitorIOExceptionpublic void message(MessageResult msg) throws IOException
message in interface LogVisitorIOExceptionpublic void exception(ExceptionResult ex) throws IOException
exception in interface LogVisitorIOExceptionCopyright © 2015. All rights reserved.