public class ContextView extends java.lang.Object implements OptionProvider
As such, can be viewed as a simplified version of a View using a single ContextMatcher, but provides some extra configuration such as context highlighting and output path configuration (and it is specified in code rather than in javadoc comments).
| Constructor and Description |
|---|
ContextView(java.lang.String outputFolder,
ClassDoc cd,
RootDoc root,
Options parent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
Returns user displayable name for this option provider.
|
Options |
getGlobalOptions()
Returns the global options (the class independent definition)
|
Options |
getOptionsFor(ClassDoc cd)
Returns the options for the specified class.
|
void |
overrideForClass(Options opt,
ClassDoc cd)
Gets a base Options and applies the overrides for the specified class
|
void |
setContextCenter(ClassDoc contextCenter) |
public ContextView(java.lang.String outputFolder,
ClassDoc cd,
RootDoc root,
Options parent)
throws java.io.IOException
java.io.IOExceptionpublic void setContextCenter(ClassDoc contextCenter)
public java.lang.String getDisplayName()
OptionProviderWill be used to provide progress feedback on the console
getDisplayName in interface OptionProviderpublic Options getGlobalOptions()
OptionProvidergetGlobalOptions in interface OptionProviderpublic Options getOptionsFor(ClassDoc cd)
OptionProvidergetOptionsFor in interface OptionProviderpublic void overrideForClass(Options opt, ClassDoc cd)
OptionProvideroverrideForClass in interface OptionProvider