Packageorg.igniterealtime.xiff.data.id
Interfacepublic interface IIDGenerator
ImplementorsIncrementalGenerator, SOIncrementalGenerator, UUIDGenerator

To use custom ID generators call the static function on the XMPPStanza class with an instance that implements IIDGenerator.


Example
XMPPStanza.idGenerator = new SOIncrementalGenerator();



Public Properties
 PropertyDefined by
  prefix : String
The prefix to use for the generated ID (for namespacing purposes).
IIDGenerator
Public Methods
 MethodDefined by
  
generateID():String
Generates an ID.
IIDGenerator
Property detail
prefixproperty
prefix:String  [read-write]

The prefix to use for the generated ID (for namespacing purposes).

Implementation
    public function get prefix():String
    public function set prefix(value:String):void
Method detail
generateID()method
public function generateID():String

Generates an ID.

Returns
String — The generated ID