Class MacroRequest


  • public class MacroRequest
    extends Object

    MacroRequest class.

    Since:
    1.0
    Author:
    Jason van Zyl
    • Constructor Detail

      • MacroRequest

        public MacroRequest​(Map<String,​Object> param,
                            File base)
        Deprecated.
        prefer other constructor
        Constructor.
        Parameters:
        param - A map of parameters.
        base - The current base directory.
    • Method Detail

      • getBasedir

        public File getBasedir()
        Returns the current base directory.
        Returns:
        The base dir.
      • setBasedir

        public void setBasedir​(File base)
        Sets the current base directory.
        Parameters:
        base - The current base directory.
      • getParameters

        public Map<String,​Object> getParameters()
        Returns the map of parameters.
        Returns:
        The map of parameters.
      • getParameter

        public Object getParameter​(String key)
        Returns on object from the map of parameters that corresponds to the given key.
        Parameters:
        key - The key to lookup the object.
        Returns:
        The value object.
      • getSourceContent

        public String getSourceContent()

        getSourceContent.

        Returns:
        a String object.
      • getParser

        public Parser getParser()

        getParser.

        Returns:
        a Parser object.
      • isInternalParameter

        public static boolean isInternalParameter​(String name)

        isInternalParameter.

        Parameters:
        name - a String object.
        Returns:
        a boolean.