@WeaklyLinked public static CFAttributedString create(String str, NSAttributedStringAttributes attributes) { return create(null, str, attributes); } @WeaklyLinked
@WeaklyLinked public CFType getAttribute(long loc, CMTextMarkupAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked
@WeaklyLinked public CMTextMarkupAttributes getTextMarkupAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new CMTextMarkupAttributes(dict); } @WeaklyLinked
@WeaklyLinked public CFType getAttribute(long loc, CTAttributedStringAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked
@WeaklyLinked public CTAttributedStringAttributes getCoreTextAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new CTAttributedStringAttributes(null); } /*<methods>*/
@WeaklyLinked public static CFAttributedString create(String str, CTAttributedStringAttributes attributes) { return create(null, str, attributes); } @WeaklyLinked
@WeaklyLinked public CFType getAttribute(long loc, NSAttributedStringAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value().as(CFString.class), effectiveRange); } @WeaklyLinked
@WeaklyLinked public NSAttributedStringAttributes getAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new NSAttributedStringAttributes(dict.as(NSDictionary.class)); } @WeaklyLinked
@WeaklyLinked public static CFAttributedString create(String str, CMTextMarkupAttributes attributes) { return create(null, str, attributes); } @WeaklyLinked
@WeaklyLinked public CFType getAttribute(long loc, CTAttributedStringAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked
@WeaklyLinked public CTAttributedStringAttributes getCoreTextAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new CTAttributedStringAttributes(null); } /*<methods>*/
@WeaklyLinked public CFType getAttribute(long loc, CMTextMarkupAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked
@WeaklyLinked public CTAttributedStringAttributes getCoreTextAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new CTAttributedStringAttributes(null); } /*<methods>*/
@WeaklyLinked public CFType getAttribute(long loc, CMTextMarkupAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked
@WeaklyLinked public CMTextMarkupAttributes getTextMarkupAttributes(long loc, CFRange effectiveRange) { CFDictionary dict = getAttributesDictionary(loc, effectiveRange); if (dict == null) return null; return new CMTextMarkupAttributes(dict); } @WeaklyLinked
@WeaklyLinked public static CFAttributedString create(String str, CMTextMarkupAttributes attributes) { return create(null, str, attributes); } @WeaklyLinked
@WeaklyLinked public CFType getAttribute(long loc, CTAttributedStringAttribute attrName, CFRange effectiveRange) { if (attrName == null) { throw new NullPointerException("attrName"); } return getAttribute(loc, attrName.value(), effectiveRange); } @WeaklyLinked