public class HTMLPairType extends Object implements Serializable
Constructor and Description |
---|
HTMLPairType() |
HTMLPairType(HtmlFragment key,
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) |
HtmlFragment |
getKey() |
HtmlFragment |
getValue() |
int |
hashCode() |
void |
setKey(HtmlFragment key) |
void |
setValue(HtmlFragment value) |
String |
toString() |
public HTMLPairType()
public HTMLPairType(HtmlFragment key, HtmlFragment value)
key
- the key returned when getKey is called.value
- the value returned when getValue is called.public HtmlFragment getKey()
public void setKey(HtmlFragment key)
public HtmlFragment getValue()
public void setValue(HtmlFragment value)
Copyright © 2003–2015 Atlassian. All rights reserved.