com.atlassian.confluence.util
Class HTMLPairType
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
-
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-2013 Atlassian. All Rights Reserved.