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 intgetBitrate()Deprecated.intgetChannels()Deprecated.intgetDuration()Deprecated.MediaConstants.ExpressiongetExpression()Deprecated.longgetFilesize()Deprecated.intgetFramerate()Deprecated.intgetHeight()Deprecated.java.lang.StringgetLang()Deprecated.MediaConstants.MediumgetMedium()Deprecated.doublegetSamplingRate()Deprecated.javax.activation.MimeTypegetType()Deprecated.IRIgetUrl()Deprecated.intgetWidth()Deprecated.booleanisDefault()Deprecated.voidsetBitrate(int bitrate)Deprecated.voidsetChannels(int channels)Deprecated.voidsetDuration(int duration)Deprecated.voidsetExpression(MediaConstants.Expression exp)Deprecated.voidsetFilesize(long size)Deprecated.voidsetFramerate(int framerate)Deprecated.voidsetHeight(int height)Deprecated.voidsetLang(java.lang.String lang)Deprecated.voidsetMedium(MediaConstants.Medium medium)Deprecated.voidsetSamplingRate(double samplingrate)Deprecated.voidsetType(java.lang.String type)Deprecated.voidsetUrl(java.lang.String url)Deprecated.voidsetWidth(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.
-
-