Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 1.019 kb
//
// 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
Jump to Line
Something went wrong with that request. Please try again.