package at.gv.egovernment.moa.spss.api.impl;

import java.io.InputStream;

import at.gv.egovernment.moa.spss.api.cmsverify.CMSContentExcplicit;

/**
 * Default implementation of <code>CMSContentExplicit</code>.
 * 
 * @author Fatemeh Philippi
 * @version $Id$
 */
public class CMSContentExplicitImpl implements CMSContentExcplicit {
  
  /** The binary content, as a stream. */
  private InputStream binaryContent;

  /**
   * Sets the binary content as a stream.
   * 
   * @param content The binary content as a stream.
   */
  public void setBinaryContent(InputStream content) {
    this.binaryContent = content;
  }

  public InputStream getBinaryContent() {
    return binaryContent;
  }

  /**
   * Gets the type of content.
   * 
   * @return EXPLICIT_CONTENT
   */
  public int getContentType() {
    return EXPLICIT_CONTENT;
  }

}