All Superinterfaces:
ExpressionNode
All Known Implementing Classes:
BooleanConstant, Identifier, NumericConstant, StringConstant

@ProviderType public interface Atom extends ExpressionNode
An Atom defines an ExpressionNode that can be translated to simple text, like identifiers or primitive constants (strings, booleans and numbers).
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the text content for this nodes

    Methods inherited from interface org.apache.sling.scripting.sightly.compiler.expression.ExpressionNode

    accept
  • Method Details

    • getText

      String getText()
      Get the text content for this nodes
      Returns:
      the text content