Package org.xwiki.rendering.macro.source
Class MacroContentSourceReference
- java.lang.Object
-
- org.xwiki.rendering.macro.source.MacroContentSourceReference
-
@Unstable public class MacroContentSourceReference extends Object
The reference of a wiki content to use as macro content.- Since:
- 15.1RC1, 14.10.5
- Version:
- $Id: c48cce13c738c63718fd2dbde256ac7c0edc5ef0 $
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_ATTACHMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.static String
TYPE_DOCUMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized document reference.static String
TYPE_ENTITY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized entity reference (including the entity type).static String
TYPE_FILE
The type to use for a reference targeting a local file.static String
TYPE_OBJECT_PROPERTY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized document object property reference.static String
TYPE_PAGE
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.static String
TYPE_PAGE_ATTACHMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.static String
TYPE_PAGE_OBJECT_PROPERTY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page object property reference.static String
TYPE_SCRIPT
The type to use for a reference targeting a script context entry.static String
TYPE_STRING
The type to use for a reference which contain the actual content.static String
TYPE_URL
The type to use for a reference targeting a URL.
-
Constructor Summary
Constructors Constructor Description MacroContentSourceReference(String type, String reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getReference()
String
getType()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
TYPE_STRING
public static final String TYPE_STRING
The type to use for a reference which contain the actual content.- See Also:
- Constant Field Values
-
TYPE_SCRIPT
public static final String TYPE_SCRIPT
The type to use for a reference targeting a script context entry.- See Also:
- Constant Field Values
-
TYPE_URL
public static final String TYPE_URL
The type to use for a reference targeting a URL.- See Also:
- Constant Field Values
-
TYPE_FILE
public static final String TYPE_FILE
The type to use for a reference targeting a local file.- See Also:
- Constant Field Values
-
TYPE_ENTITY
public static final String TYPE_ENTITY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized entity reference (including the entity type).- See Also:
- Constant Field Values
-
TYPE_DOCUMENT
public static final String TYPE_DOCUMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized document reference.- See Also:
- Constant Field Values
-
TYPE_PAGE
public static final String TYPE_PAGE
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.- See Also:
- Constant Field Values
-
TYPE_OBJECT_PROPERTY
public static final String TYPE_OBJECT_PROPERTY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized document object property reference.- See Also:
- Constant Field Values
-
TYPE_PAGE_OBJECT_PROPERTY
public static final String TYPE_PAGE_OBJECT_PROPERTY
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page object property reference.- See Also:
- Constant Field Values
-
TYPE_ATTACHMENT
public static final String TYPE_ATTACHMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.- See Also:
- Constant Field Values
-
TYPE_PAGE_ATTACHMENT
public static final String TYPE_PAGE_ATTACHMENT
The type to use for a reference targeting an XWiki model entity, the reference is a serialized page reference.- See Also:
- Constant Field Values
-
-