public interface IComment extends ITemplateEvent, CharSequence
Event interface defining a Comment.
Note that any implementations of this interface should be immutable.
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Returns the whole Comment, including the <!--...--> prefix and suffix.
|
String |
getContent()
Returns the content of the Comment, without the prefix or suffix.
|
accept, getCol, getLine, getTemplateName, hasLocation, write
charAt, chars, codePoints, length, subSequence, toString
Copyright © 2016 The THYMELEAF team. All rights reserved.