public void removeAttribute(CMTextMarkupAttribute attribute, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } removeAttribute(attribute.value().as(NSString.class), range); } public void removeAttribute(CTAttributedStringAttribute attribute, @ByVal NSRange range) {
public void removeAttribute(CTAttributedStringAttribute attribute, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } removeAttribute(attribute.value().as(NSString.class), range); }
public void addAttribute(CMTextMarkupAttribute attribute, NSObject value, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } addAttribute(attribute.value().as(NSString.class), value, range); } public void addAttribute(CTAttributedStringAttribute attribute, NSObject value, @ByVal NSRange range) {
public void addAttribute(CTAttributedStringAttribute attribute, NSObject value, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } addAttribute(attribute.value().as(NSString.class), value, range); }
@WeaklyLinked public NSObject getAttribute(CTAttributedStringAttribute attribute, @MachineSizedUInt long location, NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range); } @WeaklyLinked
/** * @since Available in iOS 4.0 and later. */ @WeaklyLinked public void enumerateAttribute(CTAttributedStringAttribute attribute, @ByVal NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, final VoidBlock3<NSObject, NSRange, BooleanPtr> block) { if (attribute == null) { throw new NullPointerException("attribute"); } enumerateAttribute(attribute.value().as(NSString.class), enumerationRange, opts, block); }
/** * @since Available in iOS 4.0 and later. */ @WeaklyLinked public void enumerateAttribute(CMTextMarkupAttribute attribute, @ByVal NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, final VoidBlock3<NSObject, NSRange, BooleanPtr> block) { if (attribute == null) { throw new NullPointerException("attribute"); } enumerateAttribute(attribute.value().as(NSString.class), enumerationRange, opts, block); } /**
@WeaklyLinked public NSObject getAttribute(CMTextMarkupAttribute attribute, @MachineSizedUInt long location, NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range); } @WeaklyLinked
@WeaklyLinked public NSObject getAttribute(CTAttributedStringAttribute attribute, @MachineSizedUInt long location, NSRange range, @ByVal NSRange rangeLimit) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range, rangeLimit); } @WeaklyLinked
@WeaklyLinked public NSObject getAttribute(CMTextMarkupAttribute attribute, @MachineSizedUInt long location, NSRange range, @ByVal NSRange rangeLimit) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range, rangeLimit); } @WeaklyLinked
public void removeAttribute(CTAttributedStringAttribute attribute, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } removeAttribute(attribute.value().as(NSString.class), range); }
public void addAttribute(CTAttributedStringAttribute attribute, NSObject value, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } addAttribute(attribute.value().as(NSString.class), value, range); }
public void addAttribute(CMTextMarkupAttribute attribute, NSObject value, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } addAttribute(attribute.value().as(NSString.class), value, range); } public void addAttribute(CTAttributedStringAttribute attribute, NSObject value, @ByVal NSRange range) {
public void removeAttribute(CTAttributedStringAttribute attribute, @ByVal NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } removeAttribute(attribute.value().as(NSString.class), range); }
@WeaklyLinked public NSObject getAttribute(CMTextMarkupAttribute attribute, @MachineSizedUInt long location, NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range); } @WeaklyLinked
/** * @since Available in iOS 4.0 and later. */ @WeaklyLinked public void enumerateAttribute(CMTextMarkupAttribute attribute, @ByVal NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, final VoidBlock3<NSObject, NSRange, BooleanPtr> block) { if (attribute == null) { throw new NullPointerException("attribute"); } enumerateAttribute(attribute.value().as(NSString.class), enumerationRange, opts, block); } /**
@WeaklyLinked public NSObject getAttribute(CTAttributedStringAttribute attribute, @MachineSizedUInt long location, NSRange range) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range); } @WeaklyLinked
@WeaklyLinked public NSObject getAttribute(CMTextMarkupAttribute attribute, @MachineSizedUInt long location, NSRange range, @ByVal NSRange rangeLimit) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range, rangeLimit); } @WeaklyLinked
@WeaklyLinked public NSObject getAttribute(CMTextMarkupAttribute attribute, @MachineSizedUInt long location, NSRange range, @ByVal NSRange rangeLimit) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range, rangeLimit); } @WeaklyLinked
@WeaklyLinked public NSObject getAttribute(CTAttributedStringAttribute attribute, @MachineSizedUInt long location, NSRange range, @ByVal NSRange rangeLimit) { if (attribute == null) { throw new NullPointerException("attribute"); } return getAttribute(attribute.value().as(NSString.class), location, range, rangeLimit); } @WeaklyLinked