Package com.enonic.xp.content
Class Media
- java.lang.Object
-
- com.enonic.xp.content.Content
-
- com.enonic.xp.content.Media
-
@Beta public class Media extends Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Media.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Media.Builder
create()
static Media.Builder
create(Media source)
boolean
equals(java.lang.Object o)
Cropping
getCropping()
FocalPoint
getFocalPoint()
Attachment
getMediaAttachment()
ImageOrientation
getOrientation()
Attachment
getSourceAttachment()
boolean
isImage()
-
Methods inherited from class com.enonic.xp.content.Content
create, create, getAllExtraData, getAttachments, getChildOrder, getContentState, getCreatedTime, getCreator, getData, getDisplayName, getId, getLanguage, getModifiedTime, getModifier, getName, getOwner, getPage, getParentPath, getPath, getPermissions, getProcessedReferences, getPublishInfo, getThumbnail, getType, getWorkflowInfo, hasChildren, hasExtraData, hashCode, hasPage, hasThumbnail, inheritsPermissions, isPageTemplate, isRoot, isSite, isValid
-
-
-
-
Method Detail
-
isImage
public boolean isImage()
-
getMediaAttachment
public Attachment getMediaAttachment()
-
getOrientation
public ImageOrientation getOrientation()
-
getFocalPoint
public FocalPoint getFocalPoint()
-
getCropping
public Cropping getCropping()
-
getSourceAttachment
public Attachment getSourceAttachment()
-
create
public static Media.Builder create()
-
create
public static Media.Builder create(Media source)
-
-