public class ImageBlock extends AbstractBlock
Block.Axes| Constructor and Description |
|---|
ImageBlock(ResourceReference reference,
boolean isFreeStandingURI) |
ImageBlock(ResourceReference reference,
boolean isFreeStandingURI,
Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
ImageBlock |
clone(BlockFilter blockFilter)
Return a copy of the block with filtered children.
|
ResourceReference |
getReference() |
boolean |
isFreeStandingURI() |
void |
traverse(Listener listener)
Let the block send
Listener events corresponding to its content. |
addChild, addChildren, after, before, clone, equals, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlockpublic ImageBlock(ResourceReference reference, boolean isFreeStandingURI)
reference - the image referenceisFreeStandingURI - indicate if the image syntax is simple a full descriptive syntax (detail depending of
the syntax)public ImageBlock(ResourceReference reference, boolean isFreeStandingURI, Map<String,String> parameters)
reference - the image referenceisFreeStandingURI - indicate if the image syntax is simple a full descriptive syntax (detail depending of
the syntax)parameters - the custom parameterspublic ResourceReference getReference()
ResourceReferencepublic boolean isFreeStandingURI()
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 ImageBlock clone(BlockFilter blockFilter)
clone in interface Blockclone in class AbstractBlockblockFilter - the Block filter.Copyright © 2004–2015 XWiki. All rights reserved.