GBParagraphListItem Class Reference
| Inherits from | GBParagraphItem : NSObject | 
| Declared in | GBParagraphListItem.h GBParagraphListItem.m  | 
Overview
Handles ordered and unordered lists for a GBCommentParagraph.
Lists are containers for list items which are instances of GBCommentParagraph. This allows us to form a tree structure with nested lists and other paragraph items. Lists can be ordered or unordered, the type can be determined by testing the value of isOrdered property.
Tasks
Initialization & disposal
- 
	
		
+ orderedParagraphListItemReturns new autoreleased list item withorderedset toYES. - 
	
		
+ unorderedParagraphListItemReturns new autoreleased list item withorderedset toNO. 
Values
- 
	
		
– registerItem:Registers the given item by adding it to the end ofitemsarray. - 
	
		
isOrderedSpecifies whether the list is ordered (YES) or unordered (NO). property - 
	
		
listItemsArray of all list items as instances ofGBCommentParagraphin the same order as in comment text. property 
Other Methods
- 
	
		
– isOrderedListItemReturnsYESif this is ordered list item. This is only used to simplify output generation! - 
	
		
– isUnorderedListItemReturnsYESif this is unordered list item. This is only used to simplify output generation! - 
	
		
– stringValueItem's string value. - 
	
		
– descriptionStringValueString value as used in debug description. 
Properties
Class Methods
Instance Methods
descriptionStringValue
String value as used in debug description.
- (NSString *)descriptionStringValueDiscussion
By default this returns string value trimmed to a predefined maximum length, but subclasses can override to provide their specific implementation. This is only used for debugging purposes and should not be used for any output generation! See description method implementation for details.
Sending this message is equivalent to sending descriptionForStringValue: to receiver and passing it stringValue as the parameter.
Declared In
GBParagraphItem.h@48 -> GBParagraphListItem.misOrderedListItem
Returns YES if this is ordered list item. This is only used to simplify output generation!
- (BOOL)isOrderedListItemDeclared In
GBParagraphItem.h@63 -> GBParagraphListItem.misUnorderedListItem
Returns YES if this is unordered list item. This is only used to simplify output generation!
- (BOOL)isUnorderedListItemDeclared In
GBParagraphItem.h@66 -> GBParagraphListItem.m