Interface IPSXPathVariables

All Superinterfaces:
com.helger.commons.lang.ICloneable<PSXPathVariables>, Serializable
All Known Implementing Classes:
PSXPathVariables

public interface IPSXPathVariables extends com.helger.commons.lang.ICloneable<PSXPathVariables>, Serializable
Read-only interface for PSXPathVariables.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    get(String sName)
     
    com.helger.commons.collection.impl.ICommonsNavigableMap<String,String>
     
    Perform the text replacement of all variables in the specified text.

    Methods inherited from interface com.helger.commons.lang.ICloneable

    getClone
  • Method Details

    • getAppliedReplacement

      @Nullable String getAppliedReplacement(@Nullable String sText)
      Perform the text replacement of all variables in the specified text.
      Parameters:
      sText - The source text. May be null.
      Returns:
      The text with all values replaced. May be null if the source text is null.
    • getAll

      @Nonnull @ReturnsMutableCopy com.helger.commons.collection.impl.ICommonsNavigableMap<String,String> getAll()
      Returns:
      All contained variable key value pairs. Never null.
    • contains

      boolean contains(@Nullable String sName)
      Parameters:
      sName - Name of the variable to check
      Returns:
      true if a variable with the passed name in present.
    • get

      Parameters:
      sName - Variable name
      Returns:
      The variable value of the variable with the specified name or null if no such variable is present.