Interface NTxCompiledDocument
public interface NTxCompiledDocument
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidawaitFutures(long timeout, TimeUnit unit) computeManifest(NTxManifestOptions options) document()engine()net.thevpc.nuts.util.NOptional<NTxObj> getGlobalObject(String name) booleanbooleannet.thevpc.nuts.util.NOptional<NTxCompiledPage> page(int index) pages()voidregisterFuture(Object future) default voidregisterProgressBinding(String name, NTxFuture<?> future) Register a named future with the document's progress tracking system.setGlobalObject(String name, NTxObj obj) source()title()net.thevpc.nuts.elem.NElementtoElement(boolean semantic)
-
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
-
pages
List<NTxCompiledPage> pages() -
currentThrowable
Throwable currentThrowable() -
toElement
net.thevpc.nuts.elem.NElement toElement(boolean semantic) -
sourceMonitor
NTxSourceMonitor sourceMonitor() -
computeManifest
-
getGlobalObject
-
setGlobalObject
-
dependencyGraph
NTxDependencyGraph dependencyGraph() -
registerFuture
-
hasPendingFutures
boolean hasPendingFutures() -
awaitFutures
void awaitFutures() -
awaitFutures
-
registerProgressBinding
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
-