public abstract class BindingTraverserCommonImpl extends Object implements BindingTraverserInterface
| Modifier and Type | Field and Description |
|---|---|
protected AtomicInteger |
bookmarkId |
| Constructor and Description |
|---|
BindingTraverserCommonImpl() |
| Modifier and Type | Method and Description |
|---|---|
AtomicInteger |
getNextBookmarkId()
Since we are potentially processing multiple parts (ie
main document part, headers, footers), we need to be able
to pass the number from part to part.
|
void |
setStartingIdForNewBookmarks(AtomicInteger bookmarkId)
Provide a way to set the starting bookmark ID number
for the purposes of Binding Traverse.
|
abstract Object |
traverseToBind(JaxbXmlPart part,
OpcPackage pkg,
Map<String,Xpaths.Xpath> xpathsMap) |
protected AtomicInteger bookmarkId
public abstract Object traverseToBind(JaxbXmlPart part, OpcPackage pkg, Map<String,Xpaths.Xpath> xpathsMap) throws Docx4JException
traverseToBind in interface BindingTraverserInterfaceDocx4JExceptionpublic void setStartingIdForNewBookmarks(AtomicInteger bookmarkId)
BindingTraverserInterfacesetStartingIdForNewBookmarks in interface BindingTraverserInterfacepublic AtomicInteger getNextBookmarkId()
BindingTraverserInterfacegetNextBookmarkId in interface BindingTraverserInterfaceCopyright © 2007-2022. All Rights Reserved.