Class NameValuePair


  • public class NameValuePair
    extends Object
    This class represents name/value pairs, that can be used as arguments for a template call.
    • Constructor Detail

      • NameValuePair

        public NameValuePair​(String name,
                             Object value)
        Constructs a new name value pair.
        Parameters:
        name - The name for this pair.
        value - The value for this pair.
      • NameValuePair

        public NameValuePair​(String name,
                             int value)
        Constructs a new name value pair.
        Parameters:
        name - The name for this pair.
        value - The value for this pair.
    • Method Detail

      • getName

        public String getName()
        Returns the name part.
        Returns:
        The name part of this pair.
      • getValue

        public Object getValue()
        Returns the value part.
        Returns:
        The value part of this pair.