com.google.template.soy.data
Interface SanitizedContentOperator


public interface SanitizedContentOperator

An operator that takes sanitized content of a particular kind and produces sanitized content of the same kind. Directives may be marked as producers of sanitized content, in which case, the autoescaper will put any inferred directives before the escaping directive. This allows directives that take sanitized content of a particular kind and wrap it to avoid over-escaping.


Method Summary
 SanitizedContent.ContentKind getContentKind()
          The kind of content consumed and produced.
 

Method Detail

getContentKind

@Nonnull
SanitizedContent.ContentKind getContentKind()
The kind of content consumed and produced.