net.cscott.sinjdoc.parser

Class PRootDoc

public class PRootDoc extends PDoc implements RootDoc

The PRootDoc class holds the information from one run of SinjDoc; in particular the packages, classes, and options specified by the user.

Version: $Id: PRootDoc.java,v 1.25 2003/08/01 00:01:26 cananian Exp $

Author: C. Scott Ananian (cscott@cscott.net)

Method Summary
Collection<ClassDoc>classes()
ClassDocclassNamed(String canonicalName)
TypeContextgetCommentContext()
PSourcePositiongetRawCommentPosition()
StringgetRawCommentText()
booleanisIncluded()
Stringname()
List<List<String>>options()
PPackageDocpackageNamed(String name)
voidprintError(String msg)
voidprintError(SourcePosition pos, String msg)
voidprintNotice(String msg)
voidprintNotice(SourcePosition pos, String msg)
voidprintWarning(String msg)
voidprintWarning(SourcePosition pos, String msg)
voidsetOptions(List<List<String>> options)
booleanshouldStripStars()
List<ClassDoc>specifiedClasses()
List<PackageDoc>specifiedPackages()

Method Detail

classes

public Collection<ClassDoc> classes()

classNamed

public ClassDoc classNamed(String canonicalName)

getCommentContext

public TypeContext getCommentContext()

getRawCommentPosition

public PSourcePosition getRawCommentPosition()

getRawCommentText

public String getRawCommentText()

isIncluded

public boolean isIncluded()

name

public String name()

options

public List<List<String>> options()

packageNamed

public PPackageDoc packageNamed(String name)

printError

public void printError(String msg)

printError

public void printError(SourcePosition pos, String msg)

printNotice

public void printNotice(String msg)

printNotice

public void printNotice(SourcePosition pos, String msg)

printWarning

public void printWarning(String msg)

printWarning

public void printWarning(SourcePosition pos, String msg)

setOptions

public void setOptions(List<List<String>> options)

shouldStripStars

public boolean shouldStripStars()

Returns: false

specifiedClasses

public List<ClassDoc> specifiedClasses()

specifiedPackages

public List<PackageDoc> specifiedPackages()
Copyright © 2003 C. Scott Ananian