All Superinterfaces:
Serializable
All Known Implementing Classes:
ActionToken, StringToken

public interface Token extends Serializable
Any token should provide a method to substitute "placeholder" with his value
Author:
Eugen Fischer
  • Method Details

    • substituteAttribute

      Parameters:
      content - must not be null
      Returns:
      token specific template with substituted attribute value if attribute exists, empty String otherwise
    • isStringToken

      boolean isStringToken()
      Returns:
      true if Token has no substitutions