ContentToNull

annotation class ContentToNull(val priority: Int = PriorityConstant.FIRST)

EventListenerProcessingContext.textContent 进行前置处理, 使 textContent 结果始终为null。

不建议 ContentTrimContentToNull 一起使用, 或者说,不建议 ContentToNull 与其他任何操作 EventListenerProcessingContext.textContent 的相关内容放在一起使用。

See also

Properties

Link copied to clipboard
@get:AnnotationMapper.Property(value = "priority", target = Preparer::class)
val priority: Int