org.jivesoftware.xiff.data.id
interface IIDGenerator
All Known Implementing Classes: IncrementalGenerator, SharedObjectGeneratorinterface IIDGenerator
To use custom ID generators call the static function on the XMPPStanza class with an instance that implements IIDGenerator. For example, on the first frame of your movie: XMPPStanza.setIDGenerator( new org.jivesoftware.xiff.data.id.SharedObjectGenerator()); At any time during the execution of your app, you can change the ID generator by calling the above method.
- Author:Sean Treadway
- Since:2.0.0
Method Documentation
getID
function getID (
prefix: String): String
Gets the generated ID.
- Parameters:
prefix The prefix to use for the ID (for namespacing purposes) - Returns:The generated ID
- IIDGenerator.as, Last Modified: 3/10/2005 10:10:28 PM