Package org.thymeleaf.model
Interface IComment
-
- All Superinterfaces:
java.lang.CharSequence,ITemplateEvent
- All Known Implementing Classes:
Comment
public interface IComment extends ITemplateEvent, java.lang.CharSequence
Event interface defining a Comment.
Note that any implementations of this interface should be immutable.
- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetComment()Returns the whole Comment, including the<!--...-->prefix and suffix.java.lang.StringgetContent()Returns the content of the Comment, without the prefix or suffix.-
Methods inherited from interface java.lang.CharSequence
charAt, chars, codePoints, length, subSequence, toString
-
Methods inherited from interface org.thymeleaf.model.ITemplateEvent
accept, getCol, getLine, getTemplateName, hasLocation, write
-
-