| Package | Description |
|---|---|
| tigase.jaxmpp.core.client |
Core of JAXMPP library.
|
| tigase.jaxmpp.core.client.connector |
Classes for implementing Connectors.
|
| tigase.jaxmpp.core.client.criteria |
Support for selecting modules to process incoming messages.
|
| tigase.jaxmpp.core.client.criteria.tpath | |
| tigase.jaxmpp.core.client.xml |
Implementation of XML DOM.
|
| tigase.jaxmpp.core.client.xmpp |
Support for XMPP.
|
| tigase.jaxmpp.core.client.xmpp.forms |
Support for Data Form.
|
| tigase.jaxmpp.core.client.xmpp.modules |
Support for XMPP Modules.
|
| tigase.jaxmpp.core.client.xmpp.modules.auth |
Support for SASL and non-SASL authentication .
|
| tigase.jaxmpp.core.client.xmpp.modules.extensions | |
| tigase.jaxmpp.core.client.xmpp.modules.streammng | |
| tigase.jaxmpp.core.client.xmpp.stanzas |
XMPP Stanzas.
|
| tigase.jaxmpp.core.client.xmpp.stream | |
| tigase.jaxmpp.core.client.xmpp.utils |
Support for common XMPP utils.
|
| tigase.jaxmpp.core.client.xmpp.utils.delay |
| Modifier and Type | Field and Description |
|---|---|
protected Element |
AbstractStanzaHandler.element |
| Modifier and Type | Method and Description |
|---|---|
static Element |
Processor.createError(Element stanza,
Throwable caught) |
Element |
Connector.StanzaSendingHandler.StanzaSendingEvent.getStanza() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
Processor.createError(Element stanza,
Throwable caught) |
List<XmppModule> |
XmppModulesManager.findModules(Element element)
Finds collection of modules that can handle stanza.
|
static Runnable |
ResponseManager.getResponseHandler(Context context,
Element element) |
Runnable |
ResponseManager.getResponseHandler(Element element,
Context context)
Returns handler for response of sent
stanza. |
void |
Connector.StanzaSendingHandler.onStanzaSending(SessionObject sessionObject,
Element stanza)
Called when StanzaSendingEvent is
fired.
|
void |
XmppModule.process(Element element)
Main method of module.
|
Runnable |
Processor.process(Element receivedElement)
Produces
Runnable that must be run to fully process received
stanza. |
String |
ResponseManager.registerResponseHandler(Element stanza,
Long timeout,
AsyncCallback callback)
Register callback for response of sent
stanza. |
static String |
ResponseManager.registerResponseHandler(SessionObject sessionObject,
Element stanza,
Long timeout,
AsyncCallback callback) |
void |
Connector.send(Element stanza)
Sends given XML Element to server.
|
void |
Connector.StanzaSendingHandler.StanzaSendingEvent.setStanza(Element stanza) |
void |
PacketWriter.write(Element stanza)
Write a element to Stream.
|
void |
JaxmppCore.DefaultPacketWriter.write(Element stanza) |
void |
PacketWriter.write(Element stanza,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with default
timeout.
|
void |
JaxmppCore.DefaultPacketWriter.write(Element stanza,
AsyncCallback asyncCallback) |
void |
PacketWriter.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with given
timeout.
|
void |
JaxmppCore.DefaultPacketWriter.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JaxmppCore.onUnacknowledged(List<Element> elements) |
| Constructor and Description |
|---|
AbstractStanzaHandler(Element element,
Context context) |
FeatureNotImplementedResponse(Element element,
Context context) |
StanzaSendingEvent(SessionObject sessionObject,
Element stanza) |
| Modifier and Type | Method and Description |
|---|---|
Element |
AbstractBoshConnector.BoshPacketSendingHandler.BoshPacketSendingEvent.getElement() |
Element |
AbstractBoshConnector.BoshPacketReceivedHandler.BoshPacketReceivedEvent.getResponse() |
protected Element |
AbstractBoshConnector.prepareBody(byte[] payload) |
protected Element |
AbstractBoshConnector.prepareBody(Element payload) |
protected Element |
AbstractBoshConnector.prepareRetartBody() |
protected Element |
AbstractBoshConnector.prepareStartBody() |
protected Element |
AbstractBoshConnector.prepareTerminateBody(Element payload) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractWebSocketConnector.fireOnError(Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnError(int responseCode,
String responseData,
Element response,
Throwable caught,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnStanzaReceived(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected void |
AbstractBoshConnector.fireOnTerminate(int responseCode,
String responseData,
Element response,
SessionObject sessionObject) |
protected boolean |
AbstractWebSocketConnector.handleSeeOtherHost(Element response) |
void |
AbstractBoshConnector.BoshPacketReceivedHandler.onBoshPacketReceived(SessionObject sessionObject,
int responseCode,
Element response)
Called when BoshPacketReceivedEvent is fired.
|
void |
AbstractBoshConnector.BoshPacketSendingHandler.onBoshPacketSending(SessionObject sessionObject,
Element packet)
Called when BoshPacketSendingEvent is fired.
|
protected void |
AbstractBoshConnector.onError(BoshRequest request,
int responseCode,
String responseData,
Element response,
Throwable caught) |
protected void |
AbstractWebSocketConnector.onError(Element response,
Throwable ex) |
protected void |
AbstractBoshConnector.onResponse(BoshRequest request,
int responseCode,
String responseData,
Element response) |
protected void |
BoshXmppSessionLogic.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
protected void |
AbstractBoshConnector.onTerminate(BoshRequest request,
int responseCode,
String responseData,
Element response) |
protected Element |
AbstractBoshConnector.prepareBody(Element payload) |
protected Element |
AbstractBoshConnector.prepareTerminateBody(Element payload) |
protected void |
AbstractWebSocketConnector.processElement(Element child) |
protected abstract void |
AbstractBoshConnector.processSendData(Element element) |
protected void |
AbstractSocketXmppSessionLogic.processStreamFeatures(Element featuresElement) |
void |
ConnectorWrapper.send(Element stanza) |
void |
AbstractBoshConnector.send(Element stanza) |
void |
AbstractWebSocketConnector.send(Element stanza) |
void |
AbstractBoshConnector.BoshPacketSendingHandler.BoshPacketSendingEvent.setElement(Element stanza) |
| Constructor and Description |
|---|
BoshPacketReceivedEvent(SessionObject sessionObject,
int responseCode,
Element response,
String responseData) |
BoshPacketSendingEvent(SessionObject sessionObject,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Criteria.match(Element element)
This method checks if element match to conditions.
|
boolean |
Or.match(Element element)
This method checks if element match to conditions.
|
boolean |
ElementCriteria.match(Element element)
This method checks if element match to conditions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.evaluate(Collection<Object> result,
Element src) |
Object |
TPathExpression.evaluate(Element element) |
List<Object> |
TPathExpression.evaluateAsArray(Element element) |
Object |
Function.value(Element element) |
Object |
Function.Attr.value(Element element) |
Object |
Function.Value.value(Element element) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultElement
Default implementation of XML Element object.
|
class |
ElementWrapper
Wrapper for Element class.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
ElementWrapper.addChild(Element child)
Add child element to tree and return the added element.
|
Element |
DefaultElement.addChild(Element child) |
Element |
Element.addChild(Element child)
Add child element to tree and return the added element.
|
static Element |
ElementFactory.create(Element src) |
static Element |
ElementFactory.create(String name) |
static Element |
ElementFactory.create(String name,
String value,
String xmlns) |
Element |
ElementWrapper.findChild(String[] elemPath) |
Element |
DefaultElement.findChild(String[] elemPath) |
Element |
Element.findChild(String[] elemPath) |
Element |
ElementWrapper.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
DefaultElement.getChildAfter(Element child) |
Element |
Element.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
ElementWrapper.getChildrenNS(String name,
String xmlns)
Get children by namespace.
|
Element |
DefaultElement.getChildrenNS(String name,
String xmlns) |
Element |
Element.getChildrenNS(String name,
String xmlns)
Get children by namespace.
|
Element |
ElementBuilder.getElement() |
Element |
ElementWrapper.getFirstChild()
Get the first child element of this element.
|
Element |
DefaultElement.getFirstChild() |
Element |
Element.getFirstChild()
Get the first child element of this element.
|
Element |
ElementWrapper.getFirstChild(String name) |
Element |
DefaultElement.getFirstChild(String name) |
Element |
Element.getFirstChild(String name) |
Element |
ElementWrapper.getNextSibling()
Get next sibling to this element or null if no parent or no more siblings
exist.
|
Element |
DefaultElement.getNextSibling() |
Element |
Element.getNextSibling()
Get next sibling to this element or null if no parent or no more siblings
exist.
|
Element |
ElementWrapper.getParent()
Get parent element of this element.
|
Element |
DefaultElement.getParent() |
Element |
Element.getParent()
Get parent element of this element.
|
Element |
ElementWrapper.getWrappedElement() |
static Element |
XmlTools.makeResult(Element element) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
ElementWrapper.getChildren()
Get all children of the element.
|
List<Element> |
DefaultElement.getChildren() |
List<Element> |
Element.getChildren()
Get all children of the element.
|
List<Element> |
ElementWrapper.getChildren(String name)
Get children by name.
|
List<Element> |
DefaultElement.getChildren(String name) |
List<Element> |
Element.getChildren(String name)
Get children by name.
|
List<Element> |
ElementWrapper.getChildrenNS(String xmlns)
Get children by namespace.
|
List<Element> |
DefaultElement.getChildrenNS(String xmlns) |
List<Element> |
Element.getChildrenNS(String xmlns)
Get children by namespace.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
ElementWrapper.addChild(Element child)
Add child element to tree and return the added element.
|
Element |
DefaultElement.addChild(Element child) |
Element |
Element.addChild(Element child)
Add child element to tree and return the added element.
|
int |
ElementComparator.compare(Element e1,
Element e2) |
static Element |
ElementFactory.create(Element src) |
static boolean |
ElementComparator.equal(Element e1,
Element e2) |
Element |
ElementWrapper.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
DefaultElement.getChildAfter(Element child) |
Element |
Element.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
static Element |
XmlTools.makeResult(Element element) |
void |
ElementWrapper.removeChild(Element child)
Remove child from element.
|
void |
DefaultElement.removeChild(Element child) |
void |
Element.removeChild(Element child)
Remove child from element.
|
void |
ElementWrapper.setParent(Element parent)
Set element parent.
|
void |
DefaultElement.setParent(Element parent) |
void |
Element.setParent(Element parent)
Set element parent.
|
| Constructor and Description |
|---|
ElementWrapper(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
DefaultXMPPStream.getFeatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultXMPPStream.setFeatures(Element features) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractField<T>
Abstract class to implement fields.
|
class |
BooleanField
Implementation of Boolean field type.
|
class |
FixedField
Implementation of Fixed field type.
|
class |
HiddenField
Implementation of Hidden field type.
|
class |
JabberDataElement
Implementation of Data Form.
|
class |
JidMultiField
Implementation of jid-multi field type.
|
class |
JidSingleField
Implementation of jid-single field type.
|
class |
ListMultiField
Implementation of list-multi field type.
|
class |
ListSingleField
Implementation of list-single field type.
|
class |
TextMultiField
Implementation of text-multi field type.
|
class |
TextPrivateField
Implementation of text-private field type.
|
class |
TextSingleField
Implementation of text-single field type.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
JabberDataElement.createSubmitableElement(XDataType type)
Creates XML Element contains only values of fields.
|
| Constructor and Description |
|---|
JabberDataElement(Element x)
Creates instance of JabberDataElement and parse fields.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
StreamFeaturesModule.StreamFeaturesReceivedHandler.StreamFeaturesReceivedEvent.getFeaturesElement() |
protected static Element |
AbstractStanzaModule.getFirstChild(Element element,
String elementName) |
static Element |
StreamFeaturesModule.getStreamFeatures(SessionObject sessionObject) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza) |
protected Element |
AbstractStanzaModule.write(Element stanza) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Element> |
StreamFeaturesModule.CacheProvider.load(SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected static Element |
AbstractStanzaModule.getFirstChild(Element element,
String elementName) |
void |
StreamFeaturesModule.StreamFeaturesReceivedHandler.onStreamFeaturesReceived(SessionObject sessionObject,
Element featuresElement) |
void |
ClientStateIndicationModule.process(Element element) |
void |
ResourceBinderModule.process(Element element) |
void |
AbstractStanzaModule.process(Element element) |
void |
StreamFeaturesModule.process(Element element) |
void |
SessionEstablishmentModule.process(Element element) |
void |
StreamFeaturesModule.StreamFeaturesReceivedHandler.StreamFeaturesReceivedEvent.setFeaturesElement(Element featuresElement) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza) |
protected Element |
AbstractStanzaModule.write(Element stanza) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaModule.write(Element stanza,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaExtendableModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
protected Element |
AbstractStanzaModule.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
BookmarksModule.BookmarksAsyncCallback.onBookmarksReceived(List<Element> bookmarks) |
void |
BookmarksModule.publishBookmarks(List<? extends Element> bookmarks,
AsyncCallback callback)
Send list of bookmarks to private storage.
|
void |
StreamFeaturesModule.CacheProvider.save(SessionObject sessionObject,
ArrayList<Element> features) |
| Constructor and Description |
|---|
StreamFeaturesReceivedEvent(SessionObject sessionObject,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
void |
SaslModule.process(Element element) |
void |
AuthModule.process(Element element) |
protected void |
SaslModule.processChallenge(Element element) |
protected void |
SaslModule.processFailure(Element element) |
protected void |
SaslModule.processSuccess(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
Extension.afterReceive(Element received) |
Element |
Extension.beforeSend(Element received) |
Element |
ExtensionsChain.executeAfterReceiveChain(Element element) |
Element |
ExtensionsChain.executeBeforeSendChain(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
Extension.afterReceive(Element received) |
Element |
Extension.beforeSend(Element received) |
Element |
ExtensionsChain.executeAfterReceiveChain(Element element) |
Element |
ExtensionsChain.executeBeforeSendChain(Element element) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
StreamManagementModule.UnacknowledgedHandler.UnacknowledgedEvent.getElements() |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManagementModule.process(Element element) |
void |
StreamManagementModule.processIncomingStanza(Element element) |
void |
StreamManagementModule.processOutgoingElement(Element element) |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManagementModule.UnacknowledgedHandler.onUnacknowledged(SessionObject sessionObject,
List<Element> elements) |
void |
StreamManagementModule.UnacknowledgedHandler.UnacknowledgedEvent.setElements(List<Element> elements) |
| Constructor and Description |
|---|
UnacknowledgedEvent(SessionObject sessionObject,
List<Element> elements) |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorElement
Class wrap around <error/> elements in stanza.
|
class |
IQ
Representation of IQ stanza.
|
class |
Message
Representation od Message stanza.
|
class |
Presence
Representation of Presence stanza.
|
class |
Stanza
Abstract representation of Stanza.
|
class |
StreamPacket |
| Modifier and Type | Method and Description |
|---|---|
Element |
IQ.getQuery()
Return <query/> child element.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Stanza.canBeConverted(Element element) |
static Stanza |
Stanza.create(Element element)
Creates new stanza.
|
static ErrorElement |
ErrorElement.extract(Element stanza) |
| Constructor and Description |
|---|
Message(Element element) |
StreamPacket(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
XMPPStream.getFeatures() |
| Modifier and Type | Method and Description |
|---|---|
void |
XMPPStream.setFeatures(Element children) |
void |
XMPPStream.write(Element stanza) |
void |
XmppStreamsManager.writeToStream(Element stanza) |
| Modifier and Type | Method and Description |
|---|---|
Element |
RSM.toElement()
Method description
|
| Modifier and Type | Method and Description |
|---|---|
RSM |
RSM.fromElement(Element e) |
| Modifier and Type | Class and Description |
|---|---|
class |
XmppDelay
Wrapper for
urn:xmpp:delay elements. |
Copyright © 2006–2020 Tigase. All rights reserved.