Class HTMLPairType

java.lang.Object
com.atlassian.confluence.util.HTMLPairType
All Implemented Interfaces:
Serializable

public class HTMLPairType extends Object implements Serializable
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    HTMLPairType(com.atlassian.velocity.htmlsafe.HtmlFragment key, com.atlassian.velocity.htmlsafe.HtmlFragment value)
    Constructs a HTMLPairtype using the passed in HtmlFragments.
    HTMLPairType(String key, String value)
    Convinience method that will create HtmlFragments to surround the passed strings.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.atlassian.velocity.htmlsafe.HtmlFragment
     
    com.atlassian.velocity.htmlsafe.HtmlFragment
     
    int
     
    void
    setKey(com.atlassian.velocity.htmlsafe.HtmlFragment key)
     
    void
    setValue(com.atlassian.velocity.htmlsafe.HtmlFragment value)
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HTMLPairType

      public HTMLPairType()
    • HTMLPairType

      public HTMLPairType(com.atlassian.velocity.htmlsafe.HtmlFragment key, com.atlassian.velocity.htmlsafe.HtmlFragment value)
      Constructs a HTMLPairtype using the passed in HtmlFragments.
      Parameters:
      key - the key returned when getKey is called.
      value - the value returned when getValue is called.
    • HTMLPairType

      public HTMLPairType(String key, String value)
      Convinience method that will create HtmlFragments to surround the passed strings.
      Parameters:
      key -
      value -
  • Method Details

    • getKey

      public com.atlassian.velocity.htmlsafe.HtmlFragment getKey()
    • setKey

      public void setKey(com.atlassian.velocity.htmlsafe.HtmlFragment key)
    • getValue

      public com.atlassian.velocity.htmlsafe.HtmlFragment getValue()
    • setValue

      public void setValue(com.atlassian.velocity.htmlsafe.HtmlFragment value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object