public enum EstateLinkProvider extends Enum<EstateLinkProvider>
Enum Constant and Description |
---|
GALLERY_PANOCREATOR_COM |
GALLERY_ROUND_ME |
VIDEO_D_TUBE |
VIDEO_DAILYMOTION_COM |
VIDEO_VEOH_COM |
VIDEO_VIMEO_COM |
VIDEO_YOUTUBE_COM |
Modifier and Type | Method and Description |
---|---|
static String |
getEmbedHtml(EstateLinkProvider provider,
String linkId,
String linkTitle,
int width,
int height) |
String |
getEmbedHtml(String linkId,
String linkTitle,
int width,
int height) |
String |
getLinkIdFromUrl(String url) |
URI |
getUrlFromLinkId(String linkId) |
String |
getXmlName() |
boolean |
isGallery() |
boolean |
isVideo() |
static EstateLinkProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EstateLinkProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EstateLinkProvider GALLERY_PANOCREATOR_COM
public static final EstateLinkProvider GALLERY_ROUND_ME
public static final EstateLinkProvider VIDEO_D_TUBE
public static final EstateLinkProvider VIDEO_DAILYMOTION_COM
public static final EstateLinkProvider VIDEO_VEOH_COM
public static final EstateLinkProvider VIDEO_VIMEO_COM
public static final EstateLinkProvider VIDEO_YOUTUBE_COM
public static EstateLinkProvider[] values()
for (EstateLinkProvider c : EstateLinkProvider.values()) System.out.println(c);
public static EstateLinkProvider valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static String getEmbedHtml(EstateLinkProvider provider, String linkId, String linkTitle, int width, int height)
public String getXmlName()
public boolean isGallery()
public boolean isVideo()
Copyright © 2019 OpenEstate. All rights reserved.