public class VerbatimBlock extends AbstractBlock
Block.Axes| Constructor and Description |
|---|
VerbatimBlock(String protectedString,
boolean isInline) |
VerbatimBlock(String protectedString,
Map<String,String> parameters,
boolean isInline) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getProtectedString() |
int |
hashCode() |
boolean |
isInline() |
String |
toString() |
void |
traverse(Listener listener)
Let the block send
Listener events corresponding to its content. |
addChild, addChildren, after, before, clone, clone, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlockpublic VerbatimBlock(String protectedString, boolean isInline)
protectedString - the string to protect from rendering.isInline - if true the macro is located in a inline content (like paragraph, etc.).public String getProtectedString()
public boolean isInline()
public void traverse(Listener listener)
BlockListener events corresponding to its content. For example a Paragraph block will send
the Listener.beginParagraph(java.util.Map<java.lang.String, java.lang.String>) and
Listener.endParagraph(java.util.Map<java.lang.String, java.lang.String>) events when this method is called.traverse in interface Blocktraverse in class AbstractBlocklistener - the listener to which to send the events to.public boolean equals(Object obj)
equals in class AbstractBlockpublic int hashCode()
hashCode in class AbstractBlockCopyright © 2004–2015 XWiki. All rights reserved.