com.atlassian.confluence.util
Class HTMLPairType

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

public class HTMLPairType
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
HTMLPairType()
           
HTMLPairType(HtmlFragment key, HtmlFragment value)
          Constructs a HTMLPairtype using the passed in HtmlFragments.
HTMLPairType(java.lang.String key, java.lang.String value)
          Convinience method that will create HtmlFragments to surround the passed strings.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 HtmlFragment getKey()
           
 HtmlFragment getValue()
           
 int hashCode()
           
 void setKey(HtmlFragment key)
           
 void setValue(HtmlFragment value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLPairType

public HTMLPairType()

HTMLPairType

public HTMLPairType(HtmlFragment key,
                    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(java.lang.String key,
                    java.lang.String value)
Convinience method that will create HtmlFragments to surround the passed strings.

Parameters:
key -
value -
Method Detail

getKey

public HtmlFragment getKey()

setKey

public void setKey(HtmlFragment key)

getValue

public HtmlFragment getValue()

setValue

public void setValue(HtmlFragment value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2010 Atlassian. All Rights Reserved.