Package org.jboss.elemento
Class Id
java.lang.Object
org.jboss.elemento.Id
Helper methods for working with IDs.
-
Method Summary
-
Method Details
-
uuid
Generates a universally unique identifier (UUID). If the globalcrypto
property is available,Crypto.randomUUID()
is used to generate the UUID. Otherwise, a pseudo random UUID is generated as fallback.- See Also:
-
unique
Creates an identifier guaranteed to be unique within this document. This is useful for allocating element IDs. -
unique
Creates an identifier guaranteed to be unique within this document. The unique part comes last. -
build
-