Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 33 lines (27 sloc) 1.019 kb
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
//
// XMLBasedOutputGenerator+IndexParsingAPI.m
// appledoc
//
// Created by Tomaz Kragelj on 28.5.09.
// Copyright (C) 2009, Tomaz Kragelj. All rights reserved.
//

#import "XMLBasedOutputGenerator+GeneralParsingAPI.h"
#import "XMLBasedOutputGenerator+IndexParsingAPI.h"
#import "DoxygenConverter.h"

@implementation XMLBasedOutputGenerator (IndexParsingAPI)

//////////////////////////////////////////////////////////////////////////////////////////
#pragma mark Index items parsing support
//////////////////////////////////////////////////////////////////////////////////////////

//----------------------------------------------------------------------------------------
- (NSString*) extractIndexGroupItemRef:(id) item
{
NSXMLNode* idAttr = [item attributeForName:@"id"];
if (idAttr) return [idAttr stringValue];
return nil;
}

//----------------------------------------------------------------------------------------
- (NSString*) extractIndexGroupItemName:(id) item
{
return [item stringValue];
}

@end
Something went wrong with that request. Please try again.