Package com.restfb.types.oembed
Class BaseOEmbed
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.oembed.BaseOEmbed
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OEmbedPage
,OEmbedPost
,OEmbedVideo
public abstract class BaseOEmbed extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BaseOEmbed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getHeight()
The height in pixels required to display the HTML.String
getHtml()
The HTML used to display the page.String
getProviderName()
Name of the provider (Facebook)String
getProviderUrl()
URL of the provider (Facebook)String
getType()
The oEmbed resource type.String
getVersion()
Always 1.0.Long
getWidth()
The width in pixels required to display the HTML.void
setHeight(Long height)
The height in pixels required to display the HTML.void
setHtml(String html)
The HTML used to display the page.void
setProviderName(String providerName)
Name of the provider (Facebook)void
setProviderUrl(String providerUrl)
URL of the provider (Facebook)void
setType(String type)
The oEmbed resource type.void
setVersion(String version)
Always 1.0.void
setWidth(Long width)
The width in pixels required to display the HTML.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
BaseOEmbed
public BaseOEmbed()
-
-
Method Detail
-
getProviderName
public String getProviderName()
Name of the provider (Facebook)
-
setProviderName
public void setProviderName(String providerName)
Name of the provider (Facebook)
-
getProviderUrl
public String getProviderUrl()
URL of the provider (Facebook)
-
setProviderUrl
public void setProviderUrl(String providerUrl)
URL of the provider (Facebook)
-
getVersion
public String getVersion()
Always 1.0. See https://oembed.com/
-
setVersion
public void setVersion(String version)
Always 1.0. See https://oembed.com/
-
-