public final class SequenceIdManager extends Object
AbstractIdentifiableElement with appropriate SequenceId.
| Modifier and Type | Method and Description |
|---|---|
static SequenceId |
getSequenceId(AbstractIdentifiableElement element)
Gets an identifier of the element.
|
static void |
setSequenceId(AbstractIdentifiableElement element, SequenceId sequenceId)
Provides an AbstractIdentifiableElement with a SequenceId.
|
public static void setSequenceId(AbstractIdentifiableElement element, SequenceId sequenceId)
AbstractIdentifiableElement with a SequenceId. Note that it is forbidden to override already existing identifier. If try to provide a new one then exception will be thrown.
element - is an identifiable element
sequenceId - is an identifier to set
IllegalStateException - if element already has an identifier
public static SequenceId getSequenceId(AbstractIdentifiableElement element)
null.
element - is an identifiable element
null otherwise
Copyright © 1998–2022 iText Group NV. All rights reserved.