Comment defines the behavior of an XML comment.
Comment
350351352353354355356357358
return ns.getPrefix(); } public String getCommentStringValue(Object obj) { Comment cmt = (Comment) obj; return cmt.getText(); }
415416417418419420421422423
810811812813814815816817818819820
return this; } public Element addComment(String comment) { Comment node = getDocumentFactory().createComment(comment); addNewNode(node); return this; }
144145146147148149150151152153
element.normalize(); } } public Document addComment(String comment) { Comment node = getDocumentFactory().createComment(comment); add(node); return this; }
348349350351352353354355356
710711712713714715716717718719720
/* */ /* 811 */ return this; /* */ } /* */ /* */ public Element addComment(String comment) { /* 815 */ Comment node = getDocumentFactory().createComment(comment); /* */ /* 817 */ addNewNode(node); /* */ /* 819 */ return this; /* */ }
116117118119120121122123124125
/* 144 */ element.normalize(); /* */ } /* */ /* */ public Document addComment(String comment) /* */ { /* 149 */ Comment node = getDocumentFactory().createComment(comment); /* 150 */ add(node); /* */ /* 152 */ return this; /* */ }