|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.block.match.ClassBlockMatcher
org.xwiki.rendering.block.match.MetadataBlockMatcher
public class MetadataBlockMatcher
Implementation of BlockMatcher which matches MetaData information.
| Constructor Summary | |
|---|---|
MetadataBlockMatcher(String metadataKey)
Match MetaDataBlock containing the provided key. |
|
MetadataBlockMatcher(String metadataKey,
Object metadataValue)
Match MetaDataBlock containing the provided key/value pair. |
|
| Method Summary | |
|---|---|
boolean |
match(Block block)
True if the provided block is matched. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetadataBlockMatcher(String metadataKey)
MetaDataBlock containing the provided key.
metadataKey - the key of the MetaData
public MetadataBlockMatcher(String metadataKey,
Object metadataValue)
MetaDataBlock containing the provided key/value pair.
metadataKey - the key of the MetaDatametadataValue - the value of the MetaData| Method Detail |
|---|
public boolean match(Block block)
ClassBlockMatcher
match in interface BlockMatchermatch in class ClassBlockMatcherblock - the block to match
BlockMatcher.match(org.xwiki.rendering.block.Block)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||