|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.listener.MetaData
public class MetaData
Represents a set of MetaData.
| Field Summary | |
|---|---|
static String |
BASE
Represent the base reference to resolve all the references in the blocks (links, images, macro parameters, etc.). |
static MetaData |
EMPTY
Represents no MetaData. |
static String |
SOURCE
Represents a source metaData, which corresponds to the reference to the source entity containing the content to render. |
static String |
SYNTAX
Represents the syntax of the content found in macro containing wiki content (like a box macro for example). |
| Constructor Summary | |
|---|---|
MetaData()
Empty metaData. |
|
MetaData(Map<String,Object> metaData)
|
|
| Method Summary | |
|---|---|
void |
addMetaData(MetaData metaData)
|
void |
addMetaData(String key,
Object value)
|
boolean |
contains(String key)
|
boolean |
equals(Object obj)
|
Map<String,Object> |
getMetaData()
|
Object |
getMetaData(String key)
|
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final MetaData EMPTY
public static final String SOURCE
public static final String SYNTAX
Syntax object.
public static final String BASE
| Constructor Detail |
|---|
public MetaData()
public MetaData(Map<String,Object> metaData)
metaData - the metadata to set| Method Detail |
|---|
public void addMetaData(String key,
Object value)
key - the key to the metadata element to add (e.g. "syntax")value - the value of the metadata element to add (e.g. a Syntax object)public void addMetaData(MetaData metaData)
metaData - the metadata to addpublic Object getMetaData(String key)
key - the key to the metadata element to retrieve (e.g. "syntax")
public boolean contains(String key)
key - the key to the metadata element to check for
public Map<String,Object> getMetaData()
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||