public class CMARichHyperLink extends CMARichBlock
data
Constructor and Description |
---|
CMARichHyperLink()
Create a new hyper link
|
CMARichHyperLink(java.lang.Object target)
Create a new hyper link.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getData() |
java.lang.String |
getNodeType() |
addContent, getContent, setContent
public CMARichHyperLink()
public CMARichHyperLink(java.lang.Object target)
target
- point to the target.java.lang.IllegalStateException
- if target is not a String
java.lang.IllegalStateException
- if target is not a CMALink
public java.lang.Object getData()
public java.lang.String getNodeType()
getNodeType
in class CMARichNode
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.