|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.extras.CommentMapper
org.jibx.extras.FormattedCommentMapper
Formatted version of custom marshaller/unmarshaller for comments to strings. The difference from the basic comment mapper is that this one adds a blank line preceding the comment when marshalling.
Constructor Summary | |
FormattedCommentMapper()
|
Method Summary | |
protected void |
writeComment(java.lang.Object obj,
IXMLWriter ixw)
Write comment data to output. |
Methods inherited from class org.jibx.extras.CommentMapper |
isExtension, isPresent, marshal, unmarshal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FormattedCommentMapper()
Method Detail |
protected void writeComment(java.lang.Object obj, IXMLWriter ixw) throws java.io.IOException
writeComment
in class CommentMapper
obj
- object to be written as textixw
- XML writer for output document
java.io.IOException
- on error writing to output
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |