Class UrlDataElement
java.lang.Object
org.jivesoftware.smackx.urldata.element.UrlDataElement
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
The url-data element.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUrlDataElement
(String target, String sid) UrlDataElement
(String target, String sid, List<HttpAuthElement> authParamElements, List<CookieElement> cookieElements, List<HeaderElement> headerElements) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the root element name.Returns the root element XML namespace.getSid()
Return the optional stream identifier used for XEP-0095: Stream Initiation.int
hashCode()
toXML
(XmlEnvironment xmlEnvironment) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
ATTR_TARGET
- See Also:
-
ATTR_SID
- See Also:
-
XMLNS_HTTP
- See Also:
-
SCHEME_HTTP
- See Also:
-
-
Constructor Details
-
UrlDataElement
-
UrlDataElement
public UrlDataElement(String target, String sid, List<HttpAuthElement> authParamElements, List<CookieElement> cookieElements, List<HeaderElement> headerElements)
-
-
Method Details
-
getTarget
-
getSid
Return the optional stream identifier used for XEP-0095: Stream Initiation.- Returns:
- stream identifier or null
-
getAuthParameters
-
getCookies
-
getHeaders
-
toXML
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
hashCode
-
equals
-