Package com.google.gdata.model.atompub

Examples of com.google.gdata.model.atompub.Control


   * status.
   *
   * @param v   Draft status, or null to clear.
   */
  public void setDraft(Boolean v) {
    Control control = null;
    if (Boolean.TRUE.equals(v)) {
      control = new Control();
      control.setDraft(true);
    }
    setElement(Control.KEY, control);
  }
View Full Code Here


   * Draft status.
   *
   * @return True if draft status is set and equals true.
   */
  public boolean isDraft() {
    Control control = getControl();
    return (control != null && control.isDraft());
  }
View Full Code Here

TOP

Related Classes of com.google.gdata.model.atompub.Control

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.