Uses of Interface
org.xwiki.rendering.block.Block

Packages that use Block
org.xwiki.rendering.block Represents content elements (Paragraph, Header, List, Styles, etc) as Blocks and a full document content is represented by a XDOM object. 
org.xwiki.rendering.block.match   
org.xwiki.rendering.renderer   
org.xwiki.rendering.renderer.xml   
org.xwiki.rendering.transformation   
org.xwiki.rendering.util   
 

Uses of Block in org.xwiki.rendering.block
 

Subinterfaces of Block in org.xwiki.rendering.block
 interface ListBLock
          Represents any type of Lists (numbered list, bulleted list, etc).
 

Classes in org.xwiki.rendering.block that implement Block
 class AbstractBlock
          Implementation for Block operations.
 class BulletedListBlock
          Represents a Bulleted list.
 class DefinitionDescriptionBlock
          Represents a definition description.
 class DefinitionListBlock
          Represents a definition list.
 class DefinitionTermBlock
          Represents a definition description.
 class EmptyLinesBlock
          Represents an empty line between 2 standalone Blocks.
 class FormatBlock
          Represents a text formatting block (bold, italic, etc).
 class GroupBlock
          Represents a grouping of blocks.
 class HeaderBlock
           
 class HorizontalLineBlock
          Represents a Horizontal line.
 class IdBlock
          A reference/location in a page.
 class ImageBlock
          Represents an image.
 class LinkBlock
          Represents a Link element in a page.
 class ListItemBlock
          Represents a List item element in a page.
 class MacroBlock
          Represents a Macro (standalone or inline) defined in a page.
 class MacroMarkerBlock
          A special block that Macro Blocks generate when they are executed so that it's possible to reconstruct the initial syntax even after Macros have been executed.
 class MetaDataBlock
          Represents any kind of MetaData in the XDOM (eg saving original blocks so that the XWiki Syntax Renderer can restore them after a transformation has been executed, source reference, etc).
 class NewLineBlock
          Represents a new line or line break (it's up to the Renderers to decide if it should be outputted as a new line or as a line break in the given syntax).
 class NumberedListBlock
          Represents a numbered List.
 class ParagraphBlock
           
 class QuotationBlock
          Represents a quotation.
 class QuotationLineBlock
          Represents a quotation line.
 class RawBlock
          Represents some raw content that shouldn't be parsed or modified and that should be injected as is in any output.
 class SectionBlock
           
 class SpaceBlock
          Represents a space.
 class SpecialSymbolBlock
          Represent a non-alphanumeric and non-space symbol (>, ]...).
 class TableBlock
          Represents a table.
 class TableCellBlock
          Represents a cell of a table.
 class TableHeadCellBlock
          Represents a head of a row or column of a table.
 class TableRowBlock
          Represents the row of a table.
 class VerbatimBlock
          A Verbatim block.
 class WordBlock
          Represents a word.
 class XDOM
          Contains the full tree of Block that represent a XWiki Document's content.
 

Methods in org.xwiki.rendering.block with type parameters of type Block
<T extends Block>
List<T>
Block.getBlocks(BlockMatcher matcher, Block.Axes axes)
          Get all blocks following provided BlockMatcher and Block.Axes.
<T extends Block>
List<T>
AbstractBlock.getBlocks(BlockMatcher matcher, Block.Axes axes)
           
<T extends Block>
List<T>
Block.getChildrenByType(Class<T> blockClass, boolean recurse)
          Deprecated. since 3.0M3 use getBlocks(BlockMatcher, Axes) instead
<T extends Block>
List<T>
AbstractBlock.getChildrenByType(Class<T> blockClass, boolean recurse)
          Deprecated. 
<T extends Block>
T
Block.getFirstBlock(BlockMatcher matcher, Block.Axes axes)
          Get the first matched block in the provided Block.Axes.
<T extends Block>
T
AbstractBlock.getFirstBlock(BlockMatcher matcher, Block.Axes axes)
           
<T extends Block>
T
Block.getParentBlockByType(Class<T> blockClass)
          Deprecated. since 3.0M3 use getBlocks(BlockMatcher, Axes) instead
<T extends Block>
T
AbstractBlock.getParentBlockByType(Class<T> blockClass)
          Deprecated. 
<T extends Block>
T
Block.getPreviousBlockByType(Class<T> blockClass, boolean recurse)
          Deprecated. since 3.0M3 use getBlocks(BlockMatcher, Axes) instead
<T extends Block>
T
AbstractBlock.getPreviousBlockByType(Class<T> blockClass, boolean recurse)
          Deprecated. 
 

Methods in org.xwiki.rendering.block that return Block
 Block SpaceBlock.clone()
           
 Block Block.clone()
           
 Block AbstractBlock.clone()
           
 Block Block.clone(BlockFilter blockFilter)
          Return a copy of the block with filtered children.
 Block AbstractBlock.clone(BlockFilter blockFilter)
          Return a copy of the block with filtered children.
 Block Block.getNextSibling()
           
 Block AbstractBlock.getNextSibling()
          
 Block Block.getParent()
          Get the parent block.
 Block AbstractBlock.getParent()
           
 Block Block.getPreviousSibling()
           
 Block AbstractBlock.getPreviousSibling()
          
 Block Block.getRoot()
          Gets the top level Block.
 Block AbstractBlock.getRoot()
           
 

Methods in org.xwiki.rendering.block that return types with arguments of type Block
 List<Block> PlainTextBlockFilter.filter(Block block)
           
 List<Block> BlockFilter.filter(Block block)
          Filter provided block into zero or more block.
 List<Block> Block.getChildren()
          Gets all children blocks.
 List<Block> AbstractBlock.getChildren()
           
 

Methods in org.xwiki.rendering.block with parameters of type Block
 void Block.addChild(Block blockToAdd)
          Helper method to add a single child block to the end of the children list of the current block.
 void AbstractBlock.addChild(Block blockToAdd)
           
 List<Block> PlainTextBlockFilter.filter(Block block)
           
 List<Block> BlockFilter.filter(Block block)
          Filter provided block into zero or more block.
 void Block.insertChildAfter(Block blockToInsert, Block previousBlock)
          Helper method to add a single child block to the current block after the provided existing child block.
 void AbstractBlock.insertChildAfter(Block blockToInsert, Block previousBlock)
           
 void Block.insertChildBefore(Block blockToInsert, Block nextBlock)
          Helper method to add a single child block to the current block before the provided existing child block.
 void AbstractBlock.insertChildBefore(Block blockToInsert, Block nextBlock)
           
 void Block.removeBlock(Block childBlockToRemove)
          Removes a Block.
 void AbstractBlock.removeBlock(Block childBlockToRemove)
          Removes a Block.
 void Block.replaceChild(Block newBlock, Block oldBlock)
          Replaces an existing children block with the passed new block.
 void AbstractBlock.replaceChild(Block newBlock, Block oldBlock)
           
 void Block.replaceChild(List<Block> newBlocks, Block oldBlock)
          Replaces an existing children block with the passed new blocks.
 void AbstractBlock.replaceChild(List<Block> newBlocks, Block oldBlock)
           
 void Block.setNextSiblingBlock(Block nextSiblingBlock)
           
 void AbstractBlock.setNextSiblingBlock(Block nextSiblingBlock)
          
 void Block.setParent(Block parentBlock)
          Sets the parent block.
 void AbstractBlock.setParent(Block parentBlock)
           
 void Block.setPreviousSiblingBlock(Block previousSiblingBlock)
           
 void AbstractBlock.setPreviousSiblingBlock(Block previousSiblingBlock)
          
 

Method parameters in org.xwiki.rendering.block with type arguments of type Block
 void Block.addChildren(List<? extends Block> blocksToAdd)
          Adds several children blocks to the end of the children list of the current block.
 void AbstractBlock.addChildren(List<? extends Block> blocksToAdd)
           
 void Block.replaceChild(List<Block> newBlocks, Block oldBlock)
          Replaces an existing children block with the passed new blocks.
 void AbstractBlock.replaceChild(List<Block> newBlocks, Block oldBlock)
           
 void Block.setChildren(List<? extends Block> children)
          Replace current children by the provided list of Blocks.
 void AbstractBlock.setChildren(List<? extends Block> children)
           
 

Constructors in org.xwiki.rendering.block with parameters of type Block
AbstractBlock(Block childBlock)
          Constructs a block with a child block.
AbstractBlock(Block childBlock, Map<String,String> parameters)
          Construct a block with a child block and parameters.
 

Constructor parameters in org.xwiki.rendering.block with type arguments of type Block
AbstractBlock(List<? extends Block> childrenBlocks)
          Constructs a block with children blocks.
AbstractBlock(List<? extends Block> childrenBlocks, Map<String,String> parameters)
          Construct a block with children blocks and parameters.
BulletedListBlock(List<Block> childrenBlocks)
          Construct a Bulleted List Block with no parameters.
BulletedListBlock(List<Block> childrenBlocks, Map<String,String> parameters)
          Construct a Bulleted List Block with parameters.
DefinitionDescriptionBlock(List<Block> childrenBlocks)
          Construct a Definition Description block.
DefinitionListBlock(List<Block> childrenBlocks)
          Construct a Definition List block with no parameters.
DefinitionListBlock(List<Block> childrenBlocks, Map<String,String> parameters)
          Construct a Definition List Block with parameters.
DefinitionTermBlock(List<Block> childrenBlocks)
          Construct a Definition Term block.
FormatBlock(List<Block> childrenBlocks, Format format)
           
FormatBlock(List<Block> childrenBlocks, Format format, Map<String,String> parameters)
           
GroupBlock(List<Block> blocks)
           
GroupBlock(List<Block> blocks, Map<String,String> parameters)
           
HeaderBlock(List<Block> childBlocks, HeaderLevel level)
           
HeaderBlock(List<Block> childBlocks, HeaderLevel level, Map<String,String> parameters)
           
HeaderBlock(List<Block> childBlocks, HeaderLevel level, Map<String,String> parameters, String id)
           
HeaderBlock(List<Block> childBlocks, HeaderLevel level, String id)
           
LinkBlock(List<Block> childrenBlocks, ResourceReference reference, boolean isFreeStandingURI)
           
LinkBlock(List<Block> childrenBlocks, ResourceReference reference, boolean isFreeStandingURI, Map<String,String> parameters)
           
ListItemBlock(List<Block> childrenBlocks)
          Constructs a list item Block.
MacroMarkerBlock(String id, Map<String,String> parameters, List<Block> childBlocks, boolean isInline)
           
MacroMarkerBlock(String id, Map<String,String> parameters, String content, List<Block> childBlocks, boolean isInline)
           
MetaDataBlock(List<Block> childBlocks)
           
MetaDataBlock(List<Block> childBlocks, MetaData metaData)
           
MetaDataBlock(List<Block> childBlocks, String key, Object value)
          Helper constructor.
NumberedListBlock(List<Block> childrenBlocks)
          Construct a Numbered List Block with no parameters.
NumberedListBlock(List<Block> childrenBlocks, Map<String,String> parameters)
          Construct a Numbered List Block with parameters.
ParagraphBlock(List<Block> blocks)
           
ParagraphBlock(List<Block> blocks, Map<String,String> parameters)
           
QuotationBlock(List<Block> blocks)
           
QuotationBlock(List<Block> blocks, Map<String,String> parameters)
           
QuotationLineBlock(List<Block> blocks)
           
SectionBlock(List<Block> childBlocks)
           
SectionBlock(List<Block> childBlocks, Map<String,String> parameters)
           
TableBlock(List<Block> list, Map<String,String> parameters)
           
TableCellBlock(List<Block> list, Map<String,String> parameters)
           
TableHeadCellBlock(List<Block> list, Map<String,String> parameters)
           
TableRowBlock(List<Block> list, Map<String,String> parameters)
           
XDOM(List<Block> childBlocks)
           
XDOM(List<Block> childBlocks, IdGenerator idGenerator)
           
XDOM(List<Block> childBlocks, IdGenerator idGenerator, MetaData metaData)
           
XDOM(List<Block> childBlocks, MetaData metaData)
           
 

Uses of Block in org.xwiki.rendering.block.match
 

Methods in org.xwiki.rendering.block.match with parameters of type Block
 boolean MacroBlockMatcher.match(Block block)
          True if the provided block is matched.
 boolean BlockMatcher.match(Block block)
          True if the provided block is matched.
 boolean AnyBlockMatcher.match(Block block)
           
 boolean EqualsBlockMatcher.match(Block block)
           
 boolean SameBlockMatcher.match(Block block)
           
 boolean CompositeBlockMatcher.match(Block block)
           
 boolean MetadataBlockMatcher.match(Block block)
           
 boolean ClassBlockMatcher.match(Block block)
           
 

Constructors in org.xwiki.rendering.block.match with parameters of type Block
EqualsBlockMatcher(Block block)
           
SameBlockMatcher(Block block)
           
 

Constructor parameters in org.xwiki.rendering.block.match with type arguments of type Block
ClassBlockMatcher(Class<? extends Block> blockClass)
           
 

Uses of Block in org.xwiki.rendering.renderer
 

Methods in org.xwiki.rendering.renderer with parameters of type Block
 void BlockRenderer.render(Block block, WikiPrinter printer)
           
 

Method parameters in org.xwiki.rendering.renderer with type arguments of type Block
 void BlockRenderer.render(Collection<Block> blocks, WikiPrinter printer)
           
 

Uses of Block in org.xwiki.rendering.renderer.xml
 

Methods in org.xwiki.rendering.renderer.xml with parameters of type Block
 void ContentHandlerBlockRenderer.render(Block block, ContentHandler contentHandler)
           
 

Method parameters in org.xwiki.rendering.renderer.xml with type arguments of type Block
 void ContentHandlerBlockRenderer.render(Collection<Block> blocks, ContentHandler contentHandler)
           
 

Uses of Block in org.xwiki.rendering.transformation
 

Methods in org.xwiki.rendering.transformation with parameters of type Block
 void TransformationManager.performTransformations(Block block, TransformationContext context)
           
 void Transformation.transform(Block block, TransformationContext context)
          Transform the passed XDOM and modifies it.
 

Uses of Block in org.xwiki.rendering.util
 

Method parameters in org.xwiki.rendering.util with type arguments of type Block
 void ParserUtils.removeTopLevelParagraph(List<Block> blocks)
          Removes any top level paragraph since for example for the following use case we don't want an extra paragraph block: = hello {{velocity}}world{{/velocity}}.
 



Copyright © 2004-2011 XWiki. All Rights Reserved.