@ThreadSafe public class Type4UUIDIdentifierGenerationStrategy extends Object implements IdentifierGenerationStrategy
Constructor and Description |
---|
Type4UUIDIdentifierGenerationStrategy() |
Modifier and Type | Method and Description |
---|---|
String |
generateIdentifier()
Generates an identifier guaranteed to be XML ID safe.
|
String |
generateIdentifier(boolean xmlSafe)
Generates an identifier.
|
public Type4UUIDIdentifierGenerationStrategy()
@Nonnull public String generateIdentifier()
generateIdentifier
in interface IdentifierGenerationStrategy
public String generateIdentifier(boolean xmlSafe)
generateIdentifier
in interface IdentifierGenerationStrategy
xmlSafe
- true iff the result must be XML ID safeCopyright © 2016 JBoss by Red Hat. All rights reserved.