org.docx4j.model.datastorage.BindingTraverserCommonImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docx4j Show documentation
Show all versions of docx4j Show documentation
docx4j is a library which helps you to work with the Office Open
XML file format as used in docx
documents, pptx presentations, and xlsx spreadsheets.
package org.docx4j.model.datastorage;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
import org.docx4j.openpackaging.exceptions.Docx4JException;
import org.docx4j.openpackaging.parts.JaxbXmlPart;
import org.docx4j.openpackaging.parts.opendope.XPathsPart;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public abstract class BindingTraverserCommonImpl implements BindingTraverserInterface {
private static Logger log = LoggerFactory.getLogger(BindingTraverserCommonImpl.class);
public abstract Object traverseToBind(JaxbXmlPart part,
org.docx4j.openpackaging.packages.OpcPackage pkg,
Map xpathsMap)
throws Docx4JException;
protected AtomicInteger bookmarkId = null;
@Override
public void setStartingIdForNewBookmarks(AtomicInteger bookmarkId) {
this.bookmarkId = bookmarkId;
}
@Override
public AtomicInteger getNextBookmarkId() {
return bookmarkId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy