Package org.vx68k.bitbucket.api.client
Class BitbucketClientRendered
- java.lang.Object
-
- org.vx68k.bitbucket.api.client.BitbucketClientObject
-
- org.vx68k.bitbucket.api.client.BitbucketClientRendered
-
- All Implemented Interfaces:
BitbucketRendered
public class BitbucketClientRendered extends BitbucketClientObject implements BitbucketRendered
Client implementation ofBitbucketRendered
. This class represents a rendered text by a JSON object.- Since:
- 5.0
- Author:
- Kaz Nishimura
-
-
Constructor Summary
Constructors Constructor Description BitbucketClientRendered(JsonObject jsonObject)
Initializes the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHtml()
Returns the HTML rendering of the rendered text.String
getMarkup()
Returns the markup type of the rendered text.String
getRaw()
Returns the raw data of the rendered text.-
Methods inherited from class org.vx68k.bitbucket.api.client.BitbucketClientObject
equals, getBitbucketClient, getJsonObject, getLink, getType, hashCode, setBitbucketClient, toString
-
-
-
-
Constructor Detail
-
BitbucketClientRendered
public BitbucketClientRendered(JsonObject jsonObject)
Initializes the object.- Parameters:
jsonObject
- a JSON object
-
-
Method Detail
-
getMarkup
public final String getMarkup()
Description copied from interface:BitbucketRendered
Returns the markup type of the rendered text.- Specified by:
getMarkup
in interfaceBitbucketRendered
- Returns:
- the markup type of the rendered text
-
getRaw
public final String getRaw()
Description copied from interface:BitbucketRendered
Returns the raw data of the rendered text.- Specified by:
getRaw
in interfaceBitbucketRendered
- Returns:
- the raw data of the rendered text
-
getHtml
public final String getHtml()
Description copied from interface:BitbucketRendered
Returns the HTML rendering of the rendered text.- Specified by:
getHtml
in interfaceBitbucketRendered
- Returns:
- the HTML rendering of the rendered text
-
-