forked from tomaz/appledoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XMLBasedOutputGenerator+HierarchyParsingAPI.h
50 lines (40 loc) · 1.78 KB
/
XMLBasedOutputGenerator+HierarchyParsingAPI.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// XMLBasedOutputGenerator+HierarchyParsingAPI.h
// appledoc
//
// Created by Tomaz Kragelj on 28.5.09.
// Copyright (C) 2009, Tomaz Kragelj. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "XMLBasedOutputGenerator.h"
//////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////
/** Defines helper methods private for the @c XMLBasedOutputGenerator and it's subclasses
that help parsing hierarchy related documentation.
*/
@interface XMLBasedOutputGenerator (HierarchyParsingAPI)
//////////////////////////////////////////////////////////////////////////////////////////
/// @name Hierarchy group items parsing support
//////////////////////////////////////////////////////////////////////////////////////////
/** Extracts the hierarchy group item reference value for the given item.
@param item The item which reference to return.
@return Returns the item reference or @c nil if not found.
@see extractHierarchyGroupItemName:
@see extractHierarchyGroupItemChildren:
*/
- (NSString*) extractHierarchyGroupItemRef:(id) item;
/** Extracts the hierarchy group item name for the given item.
@param item The item which value to return.
@return Returns the item value or @c nil if not found.
@see extractHierarchyGroupItemRef:
@see extractHierarchyGroupItemChildren:
*/
- (NSString*) extractHierarchyGroupItemName:(id) item;
/** Extracts the hierarchy group item children for the given item.
@param item The item which children to return.
@return Returns a @c NSArray containing all children of the item or @c nil if item is leaf.
@see extractHierarchyGroupItemRef:
@see extractHierarchyGroupItemName:
*/
- (NSArray*) extractHierarchyGroupItemChildren:(id) item;
@end