Package org.apache.abdera.ext.media
Class MediaContent
- java.lang.Object
-
- org.apache.abdera.model.ElementWrapper
-
- org.apache.abdera.model.ExtensibleElementWrapper
-
- org.apache.abdera.ext.media.MediaContent
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Iterable<Element>
,Base
,Element
,ExtensibleElement
@Deprecated(since="2021-07-29") public class MediaContent extends ExtensibleElementWrapper
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description MediaContent(Factory factory)
Deprecated.MediaContent(Element internal)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getBitrate()
Deprecated.int
getChannels()
Deprecated.int
getDuration()
Deprecated.MediaConstants.Expression
getExpression()
Deprecated.long
getFilesize()
Deprecated.int
getFramerate()
Deprecated.int
getHeight()
Deprecated.java.lang.String
getLang()
Deprecated.MediaConstants.Medium
getMedium()
Deprecated.double
getSamplingRate()
Deprecated.javax.activation.MimeType
getType()
Deprecated.IRI
getUrl()
Deprecated.int
getWidth()
Deprecated.boolean
isDefault()
Deprecated.void
setBitrate(int bitrate)
Deprecated.void
setChannels(int channels)
Deprecated.void
setDuration(int duration)
Deprecated.void
setExpression(MediaConstants.Expression exp)
Deprecated.void
setFilesize(long size)
Deprecated.void
setFramerate(int framerate)
Deprecated.void
setHeight(int height)
Deprecated.void
setLang(java.lang.String lang)
Deprecated.void
setMedium(MediaConstants.Medium medium)
Deprecated.void
setSamplingRate(double samplingrate)
Deprecated.void
setType(java.lang.String type)
Deprecated.void
setUrl(java.lang.String url)
Deprecated.void
setWidth(int width)
Deprecated.-
Methods inherited from class org.apache.abdera.model.ExtensibleElementWrapper
addExtension, addExtension, addExtension, addExtension, addExtension, addSimpleExtension, addSimpleExtension, getExtension, getExtension, getExtensions, getExtensions, getExtensions, getMustPreserveWhitespace, getSimpleExtension, getSimpleExtension, setMustPreserveWhitespace
-
Methods inherited from class org.apache.abdera.model.ElementWrapper
addComment, clone, complete, declareNS, discard, equals, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDefaultWriterOptions, getDocument, getElements, getExtensionAttributes, getFactory, getFirstChild, getFirstChild, getInternal, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, hashCode, iterator, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText, toString, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
-
Methods inherited from interface org.apache.abdera.model.Base
addComment, clone, complete, getDefaultWriterOptions, getFactory, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo, writeTo
-
Methods inherited from interface org.apache.abdera.model.Element
declareNS, discard, getAttributes, getAttributeValue, getAttributeValue, getBaseUri, getDocument, getElements, getExtensionAttributes, getFirstChild, getFirstChild, getLanguage, getLanguageTag, getLocale, getNamespaces, getNextSibling, getNextSibling, getParentElement, getPreviousSibling, getPreviousSibling, getQName, getResolvedBaseUri, getText, removeAttribute, removeAttribute, setAttributeValue, setAttributeValue, setBaseUri, setBaseUri, setLanguage, setParentElement, setText, setText
-
-
-
-
Method Detail
-
getUrl
public IRI getUrl()
Deprecated.
-
setUrl
public void setUrl(java.lang.String url)
Deprecated.
-
getFilesize
public long getFilesize()
Deprecated.
-
setFilesize
public void setFilesize(long size)
Deprecated.
-
getType
public javax.activation.MimeType getType()
Deprecated.
-
setType
public void setType(java.lang.String type)
Deprecated.
-
getMedium
public MediaConstants.Medium getMedium()
Deprecated.
-
setMedium
public void setMedium(MediaConstants.Medium medium)
Deprecated.
-
isDefault
public boolean isDefault()
Deprecated.
-
getExpression
public MediaConstants.Expression getExpression()
Deprecated.
-
setExpression
public void setExpression(MediaConstants.Expression exp)
Deprecated.
-
getBitrate
public int getBitrate()
Deprecated.
-
setBitrate
public void setBitrate(int bitrate)
Deprecated.
-
getFramerate
public int getFramerate()
Deprecated.
-
setFramerate
public void setFramerate(int framerate)
Deprecated.
-
getSamplingRate
public double getSamplingRate()
Deprecated.
-
setSamplingRate
public void setSamplingRate(double samplingrate)
Deprecated.
-
getChannels
public int getChannels()
Deprecated.
-
setChannels
public void setChannels(int channels)
Deprecated.
-
getDuration
public int getDuration()
Deprecated.
-
setDuration
public void setDuration(int duration)
Deprecated.
-
getWidth
public int getWidth()
Deprecated.
-
setWidth
public void setWidth(int width)
Deprecated.
-
getHeight
public int getHeight()
Deprecated.
-
setHeight
public void setHeight(int height)
Deprecated.
-
getLang
public java.lang.String getLang()
Deprecated.
-
setLang
public void setLang(java.lang.String lang)
Deprecated.
-
-