Class CMARichEmbeddedLink
- java.lang.Object
-
- com.contentful.java.cma.model.rich.CMARichNode
-
- com.contentful.java.cma.model.rich.CMARichBlock
-
- com.contentful.java.cma.model.rich.CMARichHyperLink
-
- com.contentful.java.cma.model.rich.CMARichEmbeddedLink
-
public class CMARichEmbeddedLink extends CMARichHyperLink
This node is an inline link to a CMAEntry- See Also:
CMAEntry
-
-
Field Summary
-
Fields inherited from class com.contentful.java.cma.model.rich.CMARichNode
data
-
-
Constructor Summary
Constructors Constructor Description CMARichEmbeddedLink(java.lang.Object target)Create a link pointing to a CMAEntry.CMARichEmbeddedLink(java.lang.Object target, boolean inline)Create a link pointing to a CMAEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNodeType()-
Methods inherited from class com.contentful.java.cma.model.rich.CMARichHyperLink
getData
-
Methods inherited from class com.contentful.java.cma.model.rich.CMARichBlock
addContent, getContent, setContent
-
-
-
-
Constructor Detail
-
CMARichEmbeddedLink
public CMARichEmbeddedLink(java.lang.Object target, boolean inline)Create a link pointing to a CMAEntry.- Parameters:
target- an entry to be pointed to.inline- should be inline or block
-
CMARichEmbeddedLink
public CMARichEmbeddedLink(java.lang.Object target)
Create a link pointing to a CMAEntry.- Parameters:
target- an entry to be pointed to.
-
-
Method Detail
-
getNodeType
public java.lang.String getNodeType()
- Overrides:
getNodeTypein classCMARichHyperLink- Returns:
- the internal representation of this node type.
-
-