| 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.ConnectorEvent.getStanza()
Return received stanza
|
Element |
Connector.ConnectorEvent.getStreamErrorElement()
Returns element wrapper around <error> receved element.
|
Element |
SessionObject.getStreamFeatures()
Returns XMPP Stream features
|
Element |
AbstractSessionObject.getStreamFeatures()
Returns XMPP Stream features
|
| 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.
|
Runnable |
AbstractSessionObject.getResponseHandler(Element element,
PacketWriter writer) |
Runnable |
ResponseManager.getResponseHandler(Element element,
PacketWriter writer,
SessionObject sessionObject)
Returns handler for response of sent
stanza. |
protected void |
JaxmppCore.onStanzaReceived(Element stanza) |
void |
XmppModule.process(Element element)
Main method of module.
|
Runnable |
Processor.process(Element receivedElement)
Process received stanza.
|
String |
ResponseManager.registerResponseHandler(Element stanza,
Long timeout,
AsyncCallback callback)
Register callback for response of sent
stanza. |
String |
AbstractSessionObject.registerResponseHandler(Element stanza,
Long timeout,
AsyncCallback callback) |
void |
Connector.send(Element stanza) |
void |
Connector.ConnectorEvent.setStanza(Element stanza) |
void |
Connector.ConnectorEvent.setStreamErrorElement(Element streamErrorElement) |
void |
SessionObject.setStreamFeatures(Element element)
Set XMPP Stream features
|
void |
AbstractSessionObject.setStreamFeatures(Element element)
Set XMPP Stream features
|
void |
PacketWriter.write(Element stanza)
Write a element to Stream.
|
void |
PacketWriter.write(Element stanza,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with default
timeout.
|
void |
PacketWriter.write(Element stanza,
Long timeout,
AsyncCallback asyncCallback)
Write a (IQ) stanza element to Stream and register callback with given
timeout.
|
| Constructor and Description |
|---|
AbstractStanzaHandler(Element element,
PacketWriter writer,
SessionObject sessionObject) |
Processor.FeatureNotImplementedResponse(Element element,
PacketWriter writer,
SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
Element |
AbstractBoshConnector.BoshConnectorEvent.getBody() |
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 |
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 void |
AbstractBoshConnector.onError(BoshRequest request,
int responseCode,
String responseData,
Element response,
Throwable caught) |
protected void |
AbstractBoshConnector.onResponse(BoshRequest request,
int responseCode,
String responseData,
Element response) |
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 abstract void |
AbstractBoshConnector.processSendData(Element element) |
void |
ConnectorWrapper.send(Element stanza) |
void |
AbstractBoshConnector.send(Element stanza) |
void |
AbstractBoshConnector.BoshConnectorEvent.setBody(Element response) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
Criteria.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 |
Element.addChild(Element child)
Add child element to tree and return the added element.
|
Element |
DefaultElement.addChild(Element child) |
static Element |
DefaultElement.create(Element src) |
Element |
ElementWrapper.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
Element.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
DefaultElement.getChildAfter(Element child) |
Element |
ElementWrapper.getChildrenNS(String name,
String xmlns)
Get children by namespace.
|
Element |
Element.getChildrenNS(String name,
String xmlns)
Get children by namespace.
|
Element |
DefaultElement.getChildrenNS(String name,
String xmlns) |
Element |
ElementWrapper.getFirstChild()
Get the first child element of this element.
|
Element |
Element.getFirstChild()
Get the first child element of this element.
|
Element |
DefaultElement.getFirstChild() |
Element |
ElementWrapper.getFirstChild(String name) |
Element |
ElementWrapper.getNextSibling()
Get next sibling to this element or null if no parent or no more siblings
exist.
|
Element |
Element.getNextSibling()
Get next sibling to this element or null if no parent or no more siblings
exist.
|
Element |
DefaultElement.getNextSibling() |
Element |
ElementWrapper.getParent()
Get parent element of this element.
|
Element |
Element.getParent()
Get parent element of this element.
|
Element |
DefaultElement.getParent() |
static Element |
XmlTools.makeResult(Element element) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
ElementWrapper.getChildren()
Get all children of the element.
|
List<Element> |
Element.getChildren()
Get all children of the element.
|
List<Element> |
DefaultElement.getChildren() |
List<Element> |
ElementWrapper.getChildren(String name)
Get children by name.
|
List<Element> |
Element.getChildren(String name)
Get children by name.
|
List<Element> |
DefaultElement.getChildren(String name) |
List<Element> |
ElementWrapper.getChildrenNS(String xmlns)
Get children by namespace.
|
List<Element> |
Element.getChildrenNS(String xmlns)
Get children by namespace.
|
List<Element> |
DefaultElement.getChildrenNS(String xmlns) |
| Modifier and Type | Method and Description |
|---|---|
Element |
ElementWrapper.addChild(Element child)
Add child element to tree and return the added element.
|
Element |
Element.addChild(Element child)
Add child element to tree and return the added element.
|
Element |
DefaultElement.addChild(Element child) |
int |
ElementComparator.compare(Element e1,
Element e2) |
static Element |
DefaultElement.create(Element src) |
static DefaultElement |
DefaultElement.create(Element src,
int deep) |
static boolean |
ElementComparator.equal(Element e1,
Element e2) |
Element |
ElementWrapper.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
Element.getChildAfter(Element child)
Gets the first child after specified child in children list.
|
Element |
DefaultElement.getChildAfter(Element child) |
static Element |
XmlTools.makeResult(Element element) |
void |
ElementWrapper.removeChild(Element child)
Remove child from element.
|
void |
Element.removeChild(Element child)
Remove child from element.
|
void |
DefaultElement.removeChild(Element child) |
void |
ElementWrapper.setParent(Element parent)
Set element parent.
|
void |
Element.setParent(Element parent)
Set element parent.
|
void |
DefaultElement.setParent(Element parent) |
| Constructor and Description |
|---|
ElementWrapper(Element element) |
| 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.StreamFeaturesReceivedEvent.getFeatures() |
protected static Element |
AbstractStanzaModule.getFirstChild(Element element,
String elementName) |
| Modifier and Type | Method and Description |
|---|---|
protected static Element |
AbstractStanzaModule.getFirstChild(Element element,
String elementName) |
void |
StreamFeaturesModule.process(Element element) |
void |
SessionEstablishmentModule.process(Element element) |
void |
ResourceBinderModule.process(Element element) |
void |
AbstractStanzaModule.process(Element element) |
void |
AbstractIQModule.process(Element $element) |
void |
StreamFeaturesModule.StreamFeaturesReceivedEvent.setFeatures(Element features) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
BookmarksModule.BookmarksAsyncCallback.onBookmarksReceived(List<Element> bookmarks) |
void |
BookmarksModule.publishBookmarks(List<Element> bookmarks,
AsyncCallback callback)
Send list of bookmarks to private storage.
|
| Constructor and Description |
|---|
StreamFeaturesModule.StreamFeaturesReceivedEvent(Element features,
SessionObject sessionObject) |
| Modifier and Type | Method and Description |
|---|---|
protected Element |
AdHocCommansModule.AdHocCommansAsyncCallback.getCommand()
Return <command xmlns='http://jabber.org/protocol/commands' />
element of returned stanza.
|
| 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 |
ChatState.toElement() |
| Modifier and Type | Method and Description |
|---|---|
static ChatState |
ChatState.fromElement(Element elem) |
protected void |
MessageCarbonsModule.processReceivedCarbon(Message message,
Element carb) |
protected void |
MessageCarbonsModule.processSentCarbon(Message message,
Element carb) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileTransferModule.process(Element element) |
| Modifier and Type | Class and Description |
|---|---|
class |
Candidate |
class |
Transport |
| Modifier and Type | Method and Description |
|---|---|
Element |
JingleModule.JingleTransportInfoEvent.getContent() |
Element |
JingleModule.JingleSessionAcceptEvent.getDescription() |
Element |
JingleModule.JingleSessionInitiationEvent.getDescription() |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
JingleModule.JingleSessionInfoEvent.getContent() |
| Modifier and Type | Method and Description |
|---|---|
void |
JingleModule.acceptSession(JID jid,
String sid,
String name,
Element description,
List<Transport> transports) |
void |
JingleModule.initiateSession(JID jid,
String sid,
String name,
Element description,
List<Transport> transports) |
void |
JingleModule.process(Element element) |
void |
JingleModule.transportInfo(JID recipient,
JID initiator,
String sid,
Element content) |
| Constructor and Description |
|---|
Candidate(Element elem) |
JingleModule.JingleSessionAcceptEvent(SessionObject sessionObject,
JID sender,
String sid,
Element description,
List<Transport> transports) |
JingleModule.JingleSessionInitiationEvent(SessionObject sessionObject,
JID sender,
String sid,
Element description,
List<Transport> transports) |
JingleModule.JingleTransportInfoEvent(SessionObject sessionObject,
JID sender,
String sid,
Element content) |
Transport(Element elem) |
| Constructor and Description |
|---|
JingleModule.JingleSessionInfoEvent(SessionObject sessionObject,
JID sender,
String sid,
List<Element> content) |
| Modifier and Type | Class and Description |
|---|---|
class |
XMucUserElement |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
MucModule.checkElement(Element element) |
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubModule.AffiliationElement |
static class |
PubSubModule.SubscriptionElement |
| Modifier and Type | Method and Description |
|---|---|
Element |
PubSubModule.PubSubEvent.getPayload() |
Element |
PubSubModule.RetrieveItemsAsyncCallback.Item.getPayload() |
protected abstract Element |
FormSubmitter.prepareIqPayload() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
PubSubModule.fireNotificationReceived(Message message,
String nodeName,
String itemType,
String itemId,
Element payload,
Date delayTime) |
void |
PubSubModule.publishItem(BareJID pubSubJID,
String nodeName,
String itemId,
Element payload,
AsyncCallback callback)
Publish item in PubSub service.
|
void |
PubSubModule.publishItem(BareJID pubSubJID,
String nodeName,
String itemId,
Element payload,
PubSubModule.PublishAsyncCallback callback)
Publish item in PubSub service.
|
void |
PubSubModule.PubSubEvent.setPayload(Element payload) |
| Constructor and Description |
|---|
PubSubModule.AffiliationElement(Element affiliation) |
PubSubModule.SubscriptionElement(Element subscription) |
| Modifier and Type | Method and Description |
|---|---|
void |
Socks5BytestreamsModule.process(Element element) |
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
StreamManagementModule.UnacknowledgedEvent.getElements() |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManagementModule.process(Element element) |
boolean |
StreamManagementModule.processIncomingStanza(Element element) |
void |
StreamManagementModule.processOutgoingElement(Element element) |
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManagementModule.UnacknowledgedEvent.setElements(List<Element> elements) |
| Modifier and Type | Method and Description |
|---|---|
Element |
VCard.makeElement() |
| 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.
|
| 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 |
|---|
IQ(Element element) |
Message(Element element) |
Presence(Element element) |
Stanza(Element element) |
| Modifier and Type | Class and Description |
|---|---|
class |
XmppDelay |
Copyright © 2006–2014 Tigase. All rights reserved.