public class

SinceTagger

extends Object
java.lang.Object
   ↳ com.google.doclava.SinceTagger

Class Overview

Applies version information to the DroidDoc class model from apicheck XML files. Sample usage:

   ClassInfo[] classInfos = ...

   SinceTagger sinceTagger = new SinceTagger()
   sinceTagger.addVersion("frameworks/base/api/1.xml", "product 1.0")
   sinceTagger.addVersion("frameworks/base/api/2.xml", "product 1.5")
   sinceTagger.tagAll(...);
 

Summary

Public Constructors
SinceTagger()
Public Methods
void addVersion(String file, String name)
Specifies the apicheck XML file and the API version it holds.
boolean hasVersions()
static String keyForName(String name)
void tagAll(ClassInfo[] classDocs)
void writeVersionNames(Data data)
Writes an index of the version names to data.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SinceTagger ()

Public Methods

public void addVersion (String file, String name)

Specifies the apicheck XML file and the API version it holds. Calls to this method should be called in order from oldest version to newest.

public boolean hasVersions ()

public static String keyForName (String name)

public void tagAll (ClassInfo[] classDocs)

public void writeVersionNames (Data data)

Writes an index of the version names to data.