GBParagraphLinkItem Class Reference
| Inherits from | GBParagraphItem : NSObject | 
| Declared in | GBParagraphLinkItem.h GBParagraphLinkItem.m  | 
Overview
Specifies a link paragraph item.
Link items wrap a cross reference link with all the data. There are several types of links:
- Link to a URL: Points to a http, ftp or file objects. 
stringValuevalue represents the link value, while all other properties arenil.isLocalisNO. - Link to an object: Points to a known top-level object. 
stringValuevalue represents nicely formatted object's name andcontextpoints to the object instance while all other properties arenilandisLocalis eitherYESif the link's origin is the same object orNOif it's a link to another object. - Link to a local member: Points to another member of the same known top-level object. 
stringValuevalue represents nicely formatted link value,contextpoints to the object instance andmemberto the object's member instance.isLocalvalue isYES. - Link to a member of another object: Points to a member of another object. Values representation is the same as in previous option, only 
isLocalvalue isNOin this case. 
Tasks
Values
- 
	
		
hrefThe href value to which the link "points" to. property - 
	
		
contextThe context to which the link'smemberpoints to ornilif this is astringValuelink. property - 
	
		
memberThe member to which the link points to ornilif this is either astringValuelink orcontextlink. property - 
	
		
isLocalSpecifies whether the link is local or not. property 
Other Methods
- 
	
		
– isLinkItemReturnsYESif this is link item. This is only used to simplify output generation! 
Properties
context
The context to which the link's member points to or nil if this is a stringValue link.
@property (retain) id contextDiscussion
The context can be either GBClassData, GBCategoryData or GBProtocolData if provided.
See Also
Declared In
GBParagraphLinkItem.hhref
The href value to which the link "points" to.
@property (retain) NSString *hrefDiscussion
This can actually be used when generating output to get proper URL of the link item.
Declared In
GBParagraphLinkItem.hisLocal
Specifies whether the link is local or not.
@property (assign) BOOL isLocalDiscussion
If a link is local, it points from within a context either to the context itself (i.e. member is nil) or to on eof the the same contexts members. If the link points to another context or to one of other contexts member, or this is a stringValue link, the value is NO.
See Also
Declared In
GBParagraphLinkItem.hmember
The member to which the link points to or nil if this is either a stringValue link or context link.
@property (retain) id memberDiscussion
This is only used if the link points to a member within a context. If this is link to the context itself or to an stringValue, this value is nil. The member can only be a GBMethodData instance at this point.
See Also
Declared In
GBParagraphLinkItem.h