Interface NTxCompiledDocument


public interface NTxCompiledDocument
  • Method Details

    • source

      NTxSource source()
    • document

      NTxDocument document()
    • isCompiled

      boolean isCompiled()
    • rawDocument

      NTxDocument rawDocument()
    • title

      String title()
    • engine

      NTxEngine engine()
    • pagesIterator

      Iterator<NTxCompiledPage> pagesIterator()
    • page

      net.thevpc.nuts.util.NOptional<NTxCompiledPage> page(int index)
    • pages

    • currentThrowable

      Throwable currentThrowable()
    • toElement

      net.thevpc.nuts.elem.NElement toElement(boolean semantic)
    • sourceMonitor

      NTxSourceMonitor sourceMonitor()
    • computeManifest

      NTxManifest computeManifest(NTxManifestOptions options)
    • getGlobalObject

      net.thevpc.nuts.util.NOptional<NTxObj> getGlobalObject(String name)
    • setGlobalObject

      NTxCompiledDocument setGlobalObject(String name, NTxObj obj)
    • dependencyGraph

      NTxDependencyGraph dependencyGraph()
    • registerFuture

      void registerFuture(Object future)
    • hasPendingFutures

      boolean hasPendingFutures()
    • awaitFutures

      void awaitFutures()
    • awaitFutures

      void awaitFutures(long timeout, TimeUnit unit)
    • registerProgressBinding

      default void registerProgressBinding(String name, NTxFuture<?> future)
      Register a named future with the document's progress tracking system. When the progress extension is loaded, this binds the future to a progress-monitor component that can query its state by name. No-op when the progress extension is not available.
      Parameters:
      name - binding name (must match the name used in progress-monitor's select)
      future - the future to track