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 elementsequenceId - is an identifier to setIllegalStateException - if element already has an identifierpublic static SequenceId getSequenceId(AbstractIdentifiableElement element)
null.element - is an identifiable elementnull otherwiseCopyright © 1998–2022 iText Group NV. All rights reserved.