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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUrlDataElement(String target, String sid) UrlDataElement(String target, String sid, List<HttpAuthElement> authParamElements, List<CookieElement> cookieElements, List<HeaderElement> headerElements) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the root element name.Returns the root element XML namespace.getSid()Return the optional stream identifier used for XEP-0095: Stream Initiation.inthashCode()toXML(XmlEnvironment xmlEnvironment) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
hashCode
-
equals
-