Class BindingTraverserXSLT.BookmarkCounter

java.lang.Object
org.docx4j.model.datastorage.BindingTraverserXSLT.BookmarkCounter
Enclosing class:
BindingTraverserXSLT

public static class BindingTraverserXSLT.BookmarkCounter
extends java.lang.Object
Workaround for the fact that Xalan doesn't let us pass an AtomicInteger into an extension function. Instead, it converts it into an int, which means the object in our bookmarkIdCounter parameter isn't updated. So here we wrap the AtomicInteger in a class,
Author:
jharrop
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.util.concurrent.atomic.AtomicInteger bookmarkId  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • bookmarkId

      protected java.util.concurrent.atomic.AtomicInteger bookmarkId