Class HeaderElement
- java.lang.Object
-
- org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
-
- org.jivesoftware.smackx.urldata.http.element.HeaderElement
-
- All Implemented Interfaces:
Element
,NamedElement
,MetaInformationElement
public class HeaderElement extends NameValuePairElement
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT
static String
PREFIX
-
Fields inherited from class org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
ATTR_NAME, ATTR_VALUE
-
-
Constructor Summary
Constructors Constructor Description HeaderElement(String name, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getElementName()
Returns the root element name.int
hashCode()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
Methods inherited from class org.jivesoftware.smackx.urldata.http.element.NameValuePairElement
addCommonXml, getName, getValue
-
-
-
-
Field Detail
-
ELEMENT
public static final String ELEMENT
- See Also:
- Constant Field Values
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HeaderElement
public HeaderElement(String name, String value)
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
-