public class HTMLPairType extends Object implements Serializable
| Constructor and Description | 
|---|
| HTMLPairType() | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| com.atlassian.velocity.htmlsafe.HtmlFragment | getKey() | 
| com.atlassian.velocity.htmlsafe.HtmlFragment | getValue() | 
| int | hashCode() | 
| void | setKey(com.atlassian.velocity.htmlsafe.HtmlFragment key) | 
| void | setValue(com.atlassian.velocity.htmlsafe.HtmlFragment value) | 
| String | toString() | 
public HTMLPairType()
public HTMLPairType(com.atlassian.velocity.htmlsafe.HtmlFragment key,
                    com.atlassian.velocity.htmlsafe.HtmlFragment value)
key - the key returned when getKey is called.value - the value returned when getValue is called.public com.atlassian.velocity.htmlsafe.HtmlFragment getKey()
public void setKey(com.atlassian.velocity.htmlsafe.HtmlFragment key)
public com.atlassian.velocity.htmlsafe.HtmlFragment getValue()
public void setValue(com.atlassian.velocity.htmlsafe.HtmlFragment value)
Copyright © 2003–2019 Atlassian. All rights reserved.