public abstract class NodeRendererSubContext extends Object implements NodeRendererContext
| Constructor and Description |
|---|
NodeRendererSubContext(HtmlWriter htmlWriter) |
| Modifier and Type | Method and Description |
|---|---|
void |
doNotRenderLinks()
Increment the do not render links in this context.
|
void |
doNotRenderLinks(boolean doNotRenderLinks)
Increment/Decrement the do not render links in this context.
|
void |
doRenderLinks()
Decrement the do not render links in this context.
|
void |
flush() |
void |
flush(int maxBlankLines) |
protected int |
getDoNotRenderLinksNesting() |
HtmlWriter |
getHtmlWriter() |
boolean |
isDoNotRenderLinks()
Whether the current rendering context has link rendering disabled.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelegateRender, extendRenderingNodeAttributes, extendRenderingNodeAttributes, getDelegatedSubContext, getHtmlOptions, getNodeId, getRenderingPhase, getSubContextencodeUrl, getCurrentNode, getDocument, getOptions, render, renderChildren, resolveLink, resolveLinkpublic NodeRendererSubContext(HtmlWriter htmlWriter)
public HtmlWriter getHtmlWriter()
getHtmlWriter in interface NodeRendererContextpublic void flush()
public void flush(int maxBlankLines)
protected int getDoNotRenderLinksNesting()
public boolean isDoNotRenderLinks()
NodeRendererContextisDoNotRenderLinks in interface NodeRendererContextNodeRendererContext.isDoNotRenderLinks(),
NodeRendererContext.doNotRenderLinks(),
NodeRendererContext.doRenderLinks(),
NodeRendererContext.doNotRenderLinks(boolean)public void doNotRenderLinks(boolean doNotRenderLinks)
NodeRendererContextdoNotRenderLinks in interface NodeRendererContextdoNotRenderLinks - if true then increment the doNotRenderLinks value, else decrement itNodeRendererContext.isDoNotRenderLinks(),
NodeRendererContext.doNotRenderLinks(),
NodeRendererContext.doRenderLinks(),
NodeRendererContext.doNotRenderLinks(boolean)public void doNotRenderLinks()
NodeRendererContextpublic void doRenderLinks()
NodeRendererContextCopyright © 2018. All rights reserved.