/** @since Available in iOS 4.0 and later. */
 public CMTextJustification getTextJustification() {
   if (has(Keys.TextJustification())) {
     CFNumber val = get(Keys.TextJustification(), CFNumber.class);
     return CMTextJustification.valueOf(val.longValue());
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextDisplayFlags getDisplayFlags() {
   if (has(Keys.DisplayFlags())) {
     CFNumber val = get(Keys.DisplayFlags(), CFNumber.class);
     return new CMTextDisplayFlags(val.longValue());
   }
   return null;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setTextJustification(
     CMTextJustification textJustification) {
   set(Keys.TextJustification(), CFNumber.valueOf(textJustification.value()));
   return this;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setHorizontalJustification(
     CMTextJustification horizontalJustification) {
   set(Keys.HorizontalJustification(), CFNumber.valueOf(horizontalJustification.value()));
   return this;
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setDisplayFlags(CMTextDisplayFlags displayFlags) {
   set(Keys.DisplayFlags(), CFNumber.valueOf(displayFlags.value()));
   return this;
 }