tigase.xmpp.impl

## Class VCardXMPPProcessorAbstract

- java.lang.Object
- - tigase.xmpp.XMPPProcessor
  - - tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
    - - tigase.xmpp.XMPPProcessorAbstract
      - - tigase.xmpp.impl.VCardXMPPProcessorAbstract

- All Implemented Interfaces:
    Comparable<XMPPImplIfc>, XMPPImplIfc, XMPPProcessorIfc
  Direct Known Subclasses:
    VCard4, VCardTemp

      public abstract class VCardXMPPProcessorAbstract
      extends XMPPProcessorAbstract

  Author:
    andrzej

- - ### Field Summary

    - ### Fields inherited from class tigase.xmpp.XMPPProcessor

      `ALL_NAMES, ALL_PATHS, cmpInfo`

    - ### Fields inherited from interface tigase.xmpp.XMPPImplIfc

      `CLIENT_XMLNS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VCardXMPPProcessorAbstract()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Element` | `convertVCard4ToVCardTemp(Element vcard4)`
    `static Element` | `convertVCardTempToVCard4(Element vcardTemp)`
    `protected abstract String` | `getVCardXMLNS()`
    `void` | `init(Map<String,Object> settings)` Method `init` is called just after the plugin has been loaded into memory.
    `protected void` | `setVCard(XMPPResourceConnection session, Element vcard)`
    `protected abstract void` | `storeVCard(XMPPResourceConnection session, Element vcard)`

    - ### Methods inherited from class tigase.xmpp.XMPPProcessorAbstract

      `process, processFromUserOutPacket, processFromUserPacket, processFromUserToServerPacket, processNullSessionPacket, processServerSessionPacket, processToUserPacket`

    - ### Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor

      `id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes`

    - ### Methods inherited from class tigase.xmpp.XMPPProcessor

      `canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface tigase.xmpp.XMPPImplIfc

      `canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, id, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes`

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Constructor Detail

    - #### VCardXMPPProcessorAbstract

          public VCardXMPPProcessorAbstract()

  - ### Method Detail

    - #### init

          public void init(Map<String,Object> settings)
                    throws TigaseDBException

      Description copied from interface: `XMPPImplIfc`
      Method `init` is called just after the plugin has been loaded into memory. The idea behind this is to allow it to initialize or check the database. This might be especially useful for plugins which want to have a database access via non-standard stored procedures or need schema upgrade.
      Specified by:
        `init` in interface `XMPPImplIfc`
      Overrides:
        `init` in class `XMPPProcessor`
      Parameters:
        `settings` - is a Map with initial processor settings from the configuration file.
      Throws:
        `TigaseDBException`

    - #### getVCardXMLNS

          protected abstract String getVCardXMLNS()

    - #### setVCard

          protected void setVCard(XMPPResourceConnection session,
                                  Element vcard)
                           throws TigaseDBException,
                                  NotAuthorizedException

      Throws:
        `TigaseDBException`
        `NotAuthorizedException`

    - #### storeVCard

          protected abstract void storeVCard(XMPPResourceConnection session,
                                             Element vcard)
                                      throws TigaseDBException,
                                             NotAuthorizedException

      Throws:
        `TigaseDBException`
        `NotAuthorizedException`

    - #### convertVCardTempToVCard4

          public static Element convertVCardTempToVCard4(Element vcardTemp)

    - #### convertVCard4ToVCardTemp

          public static Element convertVCard4ToVCardTemp(Element vcard4)

Copyright © 2017 "Tigase, Inc.". All rights reserved.