1 package gov.nist.javax.sip.message; 2 3 import javax.sip.header.ContentDispositionHeader; 4 import javax.sip.header.ContentTypeHeader; 5 6 public interface Content { 7 setContent(Object content)8 public abstract void setContent(Object content); 9 getContent()10 public abstract Object getContent(); 11 getContentTypeHeader()12 public abstract ContentTypeHeader getContentTypeHeader(); 13 getContentDispositionHeader()14 public abstract ContentDispositionHeader getContentDispositionHeader(); 15 16 /** 17 * The default packing method. This packs the content to be appended to the 18 * sip message. 19 * 20 */ toString()21 public abstract String toString(); 22 23 24 } 25