public class DocIDNumberAllocator
extends net.sf.saxon.tree.util.DocumentNumberAllocator
| Constructor and Description |
|---|
DocIDNumberAllocator() |
| Modifier and Type | Method and Description |
|---|---|
long |
allocateDocumentNumber() |
void |
setNextDocID(Integer id)
It is the caller's responsibility to ensure that the same id is not assigned to multiple different documents,
IDs must be assigned to documents in such a way that a consistent document ordering is maintained.
|
public void setNextDocID(Integer id)
id - the next id to allocate for the calling thread, or null if the next id to allocate should be an internal id.public long allocateDocumentNumber()
allocateDocumentNumber in class net.sf.saxon.tree.util.DocumentNumberAllocatorCopyright © 2013. All Rights Reserved.