public class Configuration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
org.mdiutil.swing.ExtensionFileFilter |
allImageFilter |
org.mdiutil.swing.ExtensionFileFilter |
cssFilter |
org.mdiutil.swing.ExtensionFileFilter |
imageFilter |
org.mdiutil.swing.ExtensionFileFilter |
mdFilter |
org.mdiutil.swing.ExtensionFileFilter |
mdxmlFilter |
org.mdiutil.swing.ExtensionFileFilter |
propertiesFilter |
org.mdiutil.swing.ExtensionFileFilter |
xmlFilter |
Modifier and Type | Method and Description |
---|---|
void |
allowMarkdown(boolean allowMarkdown)
Set if the Markdown format is accepted for articles.
|
void |
allowMediawiki(boolean allowMediawiki)
Set if the Wikipedia Mediawiki format is accepted for articles.
|
void |
checkHTTPLinks(boolean checkHTTPLinks)
Set if URLs http links are checked.
|
void |
checkInternalJavaAPI(boolean checkInternalJavaAPI)
Set if the internal Java APIs must be checked if necessary.
|
void |
checkLinks(boolean checkLinks)
Set if URLs links are checked.
|
void |
checkLinksThreaded(boolean checkLinksThreaded)
Set if URLs links are checked in a thread pool.
|
org.mdiutil.swing.ExtensionFileFilter |
createFilter(java.lang.String extension)
Create a file filter.
|
boolean |
emptyLinesAsNewLines()
Return true if empty lines are dumped as new lines.
|
java.net.URL |
getAdditionalAPIDocsURL()
Return the URL specifying the additional APIs documentation specification.
|
java.io.File |
getAdditionalCSS()
Return the additional CSS file to use for the wiki.
|
java.io.File |
getAdditionalCSSOutput()
Return the additional CSS file to use for the wiki.
|
java.io.File |
getAdditionalFooter()
Return the additional content to use for the footer.
|
java.io.File |
getAdditionalScript()
Return the additional script to use for the header.
|
char |
getAlignment()
Return the alignment of the container elements.
|
org.docgene.model.globals.apidocs.APIDocumentations |
getAPIDocumentations()
Return the API documentations specification.
|
java.net.URL |
getAPIDocumentationSchema()
Return the API documentation Schema.
|
java.io.File |
getAPIsFile()
Return the XML file specifying the APIs.
|
java.net.URL |
getAPIsSchema()
Return the APIs Schema.
|
org.mdiutil.swing.ExtensionFileFilter |
getArticlesFilter()
Return the articles filter.
|
ArticlesModel |
getArticlesModel()
Return the articles model.
|
int |
getArticlesTOCThreshold()
Return the threshold for each article Table of contents.
|
java.io.File |
getBackground()
Return an image file to put in the background of the wiki.
|
int |
getBackgroundOpacity()
Return the background opacity.
|
java.awt.Paint |
getBackgroundPaint()
Return the Paint to put in the background of the wiki.
|
java.io.File |
getCommentsDatabaseScript()
Return the search Database script.
|
java.io.File |
getCommentsScript()
Return the comments script.
|
org.docgene.main.props.CountProperty |
getCount()
Return the number of articles.
|
java.net.URL |
getCustomSearchSchema()
Return the custom search Schema.
|
java.net.URL |
getCustomSearchSpec()
Return the specification used for the custom search option type.
|
java.lang.String |
getDate()
Returns the date of the distribution.
|
java.net.URL |
getDefaultAPIDocsURL()
Return the URL specifying the default APIs documentation specification.
|
int |
getDefaultHTTPLinksTimeOut()
Return the default timeout for accessing HTTP links.
|
java.net.URL |
getDefaultStyleSheetTheme()
Return the default StyleSheet theme.
|
java.io.File |
getDependenciesFile()
Return the package dependencies File.
|
java.net.URL |
getDependenciesSchema()
Return the package dependencies Schema.
|
java.io.File |
getElasticLunrScript()
Return the ElasticLunr script.
|
short |
getEmptyLinesType()
Return the way empty lines are dumped.
|
org.docgene.parser.XMLErrorHandler |
getErrorHandler()
Return the error handler which will be used to create and store errors or informations during the parsing.
|
short |
getErrorsViewerType()
Return the editor or browser to open error files.
|
int |
getForkParserSplit()
Return the number of files which should be used to split the parsing.
|
int |
getFullTextSearchCompressionLevel()
Return the full text search compression level (default is 1, to have an average size).
|
java.io.File |
getFullTextSearchDatabase()
Return the Full Text Search Database.
|
java.io.File |
getFullTextSearchDatabaseScript()
Return the full text search search Database Script.
|
java.io.File |
getFullTextSearchScript()
Return the Full Text Search Script.
|
java.net.URL |
getHelpContent()
Return the output directory for the wiki.
|
org.docgene.model.help.HelpContentDeclaration |
getHelpContentDeclaration()
Return the HelpContentDeclaration content.
|
java.net.URL |
getHelpContentSchema()
Return the help content definition Schema.
|
java.io.File |
getHelpFile()
Return the help file.
|
java.lang.String |
getHelpFileName()
Return the help file name.
|
int |
getHelpPageWidth()
Return the page width used for specifying the images width for the help content.
|
org.docgene.model.help.HelpSystem |
getHelpSystem()
Return the HelpSystem.
|
java.io.File |
getHighlightScript()
Return the highlight script.
|
java.net.URL |
getHighlightScriptURL()
Return the highlight script URL.
|
int |
getHTTPLinksThreadTimeOut()
Return the timeout for the background thread executor used for checking http links.
|
int |
getHTTPLinksThreadTimePool()
Return the size of the Thread pool used for checking http links.
|
java.net.URL |
getImageDefinitionSchema()
Return the images definitions Schema.
|
java.io.File |
getIncrementalGenerationFile()
Return the incremental generation state file.
|
java.io.File |
getIndex()
Return the alternate index File.
|
char |
getIndexGenerationType()
Return the index file generation type.
|
java.net.URL |
getInfoBoxDefinitionSchema()
Return the resources definitions Schema.
|
java.net.URL |
getInputCommentsScript()
Return the input comments script.
|
java.io.File[] |
getInputDirs()
Return the input directories for the wiki.
|
java.net.URL |
getInputFullTextSearchScript()
Return the full text search script.
|
java.net.URL |
getInputSearchScript()
Return the Search script.
|
static Configuration |
getInstance()
Return the unique instance.
|
java.net.URL |
getJavaAPILangClasses()
Return the list of classes in the API lang package for the javadoc api.
|
java.io.File |
getJQueryScript()
Return the jQuery script.
|
java.io.File |
getJQueryTableSorterScript()
Return the jQuery table sorter script.
|
java.io.File |
getJQueryUICSS()
Return the jQuery UI CSS.
|
java.io.File |
getJQueryUIScript()
Return the jQueryUI script.
|
char |
getJustification()
Return the justification of the elements.
|
java.io.File |
getLeaderLineScript()
Return the LeaderLine script.
|
java.net.URL |
getLeaderLineScriptURL()
Return the LeaderLine script URL.
|
java.io.File |
getLeftIndexMenu()
Return the additional left index menu for the wiki.
|
java.net.URL |
getLeftMenuSchema()
Return the left menu Schema.
|
java.io.File |
getLightboxScript()
Return the Lightbox script.
|
java.net.URL |
getLightboxScriptURL()
Return the Lightbox script URL.
|
int |
getLimit()
Return the maximum number of articles in the same directory.
|
char |
getLocalLinksOption()
Return the accept option for local links.
|
java.net.URL |
getLocationDir()
Return the location directory of the library.
|
java.io.File |
getMapResizerScript()
Return the map resizer script.
|
java.net.URL |
getMapResizerScriptURL()
Return the map resizer script URL.
|
org.docgene.parser.XMLDocJHandler |
getMathFormulaHandler()
Return the custom Math formula handler.
|
java.net.URLClassLoader |
getMathFormulaLoader()
Return the Classloader for the Math formula parser jar.
|
int |
getNotesTooltipsLength()
Return the text length of the notes tooltips.
|
java.io.File |
getOpenLayerScript()
Return the OpenLayer script.
|
java.io.File |
getOuputDirectory()
Return the output directory for the wiki.
|
java.net.URL |
getOuputDirectoryURL()
Return the output directory URL for the wiki.
|
java.lang.String |
getOutputType()
Return the output type.
|
org.docgene.model.globals.PackagesDependencies |
getPackageDependencies()
Return the package dependencies.
|
java.net.URL |
getPackageSchema()
Return the package Schema.
|
int |
getPageRankIterations()
Return the PageRank algorithm number of iterations.
|
int |
getPageRankMaxIterations()
Return the PageRank algorithm maximum number of iterations.
|
char |
getPageRankSearch()
Return the PageRank algorithm option.
|
double |
getPageRankSearchConvergeDelta()
Return the delta value for the PageRank algorithm convergence.
|
char |
getPreScrollingType()
Return the default scrolling type.
|
char |
getPreventExitType()
Return how the program must exit.
|
org.docgene.main.ProxyConfiguration |
getProxyConfiguration()
Return the Proxy configuration.
|
java.net.URL |
getResourceDefinitionSchema()
Return the resources definitions Schema.
|
java.net.URL |
getResourceDirectory()
Return the resource directory.
|
char |
getResourcesGenerationType()
Return the resources file generation type.
|
java.io.File |
getRightIndexMenu()
Return the additional right index menu for the wiki.
|
java.net.URL |
getSchema()
Return the articles Schema.
|
java.io.File |
getSearchDatabaseScript()
Return the search Database script.
|
int |
getSearchLimit()
Return the search limit.
|
java.io.File |
getSearchScript()
Return the Search script.
|
short |
getSearchType()
Return the search type.
|
int |
getStaticMapsTimeOut()
Return the timeout for static maps.
|
java.net.URL |
getStyleSheet()
Return the articles StyleSheet.
|
java.net.URL |
getStyleSheetTheme()
Return the articles StyleSheet theme.
|
org.docgene.model.globals.TimeOuts |
getTimeOuts()
Return the list of URLs with specific timeouts.
|
java.io.File |
getTimeOutsFile()
Return the XML file specifying the URLs TimeOuts.
|
java.net.URL |
getTimeOutsSchema()
Return the timeouts Schema.
|
org.docgene.model.globals.SiteExceptionsList |
getURLExceptions()
Return the list of URLs which will not be checked for their validity and existence.
|
java.io.File |
getURLExceptionsFile()
Return the XML file specifying the URLs which will not be checked for their validity and existence.
|
java.net.URL |
getURLExceptionsSchema()
Return the URLExceptions Schema.
|
java.lang.String |
getUserAgent()
Return the user agent to access external links.
|
java.lang.String |
getVersion()
Returns the version of the distribution.
|
java.net.URL |
getWikiStateSchema()
Return the wiki state Schema.
|
java.lang.String |
getWikiTitle()
Return the wiki title.
|
java.lang.String |
getWikiTitle(java.lang.String title)
Return the wiki title, which will be shown in non-article pages.
|
java.lang.String |
getWikiTitle(XMLParentArticle article)
Return the wiki title, which will be shown in the index page and the articles.
|
boolean |
hasAlternateIndex()
Return true if there is an alternate index file.
|
boolean |
hasArticlesTOC()
Return true if each article must have a Table of contents by default.
|
boolean |
hasBackground()
Return true if there is an image file or color to put in the background of the wiki.
|
boolean |
hasBackgroundOpacity()
Return true if there is a specified background opacity.
|
boolean |
hasCategories()
Return true if the wiki has categories.
|
boolean |
hasCodeBackground()
Return true if the "code" and "source" elements have a background.
|
boolean |
hasCommentsDatabaseScript()
Return true if there is a comments database.
|
boolean |
hasDictionary()
Return true if the wiki has a dictionary.
|
boolean |
hasElasticLunrScript()
Return true if there is an ElasticLunr script.
|
boolean |
hasFixedLeftMenuOptions()
Return true if the options in the left menu are always present (meaning that all options are present even for the page on which we are).
|
boolean |
hasFullTextSearch()
Return true if there is a full text search.
|
boolean |
hasHighlightScript()
Return true if there is a highlight script.
|
boolean |
hasIEHighestCompatibility()
Return true if the compatibility mode for Internet Explorer is set to the highest.
|
boolean |
hasIncrementalGeneration()
Return true if the incremental generation is set.
|
boolean |
hasJQueryScript()
Return true if there is a JQuery script.
|
boolean |
hasJQueryTableSorterScript()
Return true if there is a JQueryTableSorter script.
|
boolean |
hasJQueryUICSS()
Return true if there is a jQuery UI CSS.
|
boolean |
hasJQueryUIScript()
Return true if there is a jQueryUI script.
|
boolean |
hasLeaderLineScript()
Return true if there is a LeaderLine script.
|
boolean |
hasLightbox()
Return true if images have a lightbox effect.
|
boolean |
hasLimit()
Return true if the maximum number of articles in the same directory is limited.
|
boolean |
hasMapResizerScript()
Return true if the map resizer script exists.
|
boolean |
hasNotesTooltips()
Return true if the notes have a corresponding tooltip.
|
boolean |
hasOpenLayerScript()
Return true if there is an OpenLayer script.
|
boolean |
hasPageRankSearch()
Return true if the search uses the PageRank algorithm.
|
boolean |
hasPreBackground()
Return true if the "pre" elements have a background.
|
boolean |
hasRelaxedSyntax()
Return true if the syntax of the articles is relaxed.
|
boolean |
hasSearch()
Return true if the UI has a Search box.
|
boolean |
hasSearchLimit()
Return true if there is a search limit.
|
boolean |
hasSearchOnAnchors()
Return true if the search on anchors is selected.
|
boolean |
hasSearchOnTitles()
Return true if the search on titles or anchors is selected.
|
boolean |
hasSpecifiedWikiTitle()
Return true if the wiki title is specified.
|
void |
includeComments(boolean includeComments)
Set if comments are included.
|
void |
includeTODO(boolean includeTODO)
Set if TODOs are included.
|
boolean |
isAllowingHTMLEntities()
Return true if HTML entities are allowed.
|
boolean |
isAllowingMarkdown()
Return true if the Markdown format is accepted for articles.
|
boolean |
isAllowingMediawiki()
Return true if the Wikipedia Mediawiki format is accepted for articles.
|
boolean |
isBackgroundGlobal()
Return true if the background is applied to all pages.
|
boolean |
isCheckingHTTPLinks()
Return true if URLs http links are checked.
|
boolean |
isCheckingInternalJavaAPI()
Return true if the internal Java APIs must be checked if necessary.
|
boolean |
isCheckingLinks()
Return true if URLs links are checked.
|
boolean |
isCheckingLinksThreaded()
Return true if URLs links are checked in a thread pool.
|
boolean |
isCleaning()
Return true if the output directory is cleaned before the generation.
|
boolean |
isCustomSearchType()
Return true if the custom search is selected.
|
boolean |
isDynamicMaps()
Return true if the parser will use javascript dynamic maps (maps loaded by Javascript).
|
boolean |
isEnablingComments()
Return true if comments are enabled.
|
boolean |
isEscapingContent()
Return true if the parser should support escaping characters in the articles content.
|
boolean |
isEscapingNonUTF8()
Return true if non UTF8 characters must be escaped.
|
boolean |
isForkingParser()
Return true if the parsing should use a fork-join pool to perform the parsing.
|
boolean |
isFullTextSearchCompressed()
Return true if the full text search index must be compressed (the level is greater or equal to 2).
|
boolean |
isFullTextSearchRemovingAccents()
Return true if the full text search remove accents.
|
boolean |
isFullTextSearchUseMetaphone()
Return true if the full text search use the Metaphone algorithm.
|
boolean |
isHeadless()
Return true if the generator must work in an headless environment.
|
boolean |
isHelpOptimizedForSwing()
Return true if the help result will be optimized for Swing.
|
boolean |
isHelpOutputType()
Return true if the output type is the Help type.
|
boolean |
isHTML5Compatible()
Return true if the HTML result is HTLM5-compatible.
|
boolean |
isHTMLOutputType()
Return true if the output type is the Html type.
|
boolean |
isIncludingComments()
Return true if comments are included.
|
boolean |
isIncludingTODO()
Return true if TODOs are included.
|
boolean |
isNotesTwoColumns()
Return true if the notes layout is on two columns.
|
boolean |
isPreventingErrorWindowShow()
Return true if if the error window must not be shown.
|
boolean |
isPruningAlternateTitlesInDico()
Return true if alternate titles are automatically pruned in the dictionary if their content is sufficiently similar to the article title.
|
boolean |
isResolvingAPILinks()
Return true if API links are resolved for APIs which are defined internal to the wiki output.
|
boolean |
isShowingErrorsFullPath()
Return true if the full paths of files should be presented for errors.
|
boolean |
isShowingGlossaryErrors()
Return true if the glossary errors are checked.
|
boolean |
isShowingWarnings()
Return true if warnings should be presented.
|
boolean |
isShowingWikilinksTooltips()
Return true if there are wiki links tooltips.
|
boolean |
isSupportingEscaping()
Return true if the parser supports escaping characters in the content of XML articles.
|
void |
preventErrorWindowShow(boolean preventErrorWindowShow)
Set if the error window must not be shown.
|
void |
pruneAlternateTitlesInDico(boolean pruneAltTitlesInDico)
Set if alternate titles are automatically pruned in the dictionary if their content is sufficiently similar to the article title.
|
void |
reset()
Reset the properties key / value pairs.
|
void |
resolveAPILinks(boolean resolveAPILinks)
Set if API links are resolved for APIs which are defined internal to the wiki output.
|
void |
setAdditionalAPIDocs(java.io.File file)
Set the File specifying the additional APIs documentation specification.
|
void |
setAdditionalCSS(java.io.File css)
Set an additional CSS file to use for the wiki.
|
void |
setAdditionalCSSOutput(java.io.File css)
Set an additional CSS file to use for the wiki.
|
void |
setAdditionalFooter(java.io.File footer)
Set an additional content to use for the footer.
|
void |
setAdditionalScript(java.io.File script)
Set an additional script to use for the header.
|
void |
setAlignment(char alignment)
Set the alignment of the container elements.
|
void |
setAllowHTMLEntities(boolean allowHTMLEntities)
Set if HTML entities are allowed.
|
void |
setAPIsFile(java.io.File file)
Set the XML file specifying the APIs.
|
void |
setArticlesModel(ArticlesModel model)
Set the articles model.
|
void |
setArticlesTOC(boolean hasTOC)
Set if each article must have a Table of contents by default.
|
void |
setArticlesTOCThreshold(int tocThreshold)
Set the threshold for each article Table of contents.
|
void |
setBackground(java.io.File background)
Set an image file to put in the background of the wiki.
|
void |
setBackgroundGlobal(boolean isGlobal)
Set true if the background is applied to all pages.
|
void |
setBackgroundOpacity(int opacity)
Set the background opacity.
|
void |
setBackgroundPaint(java.awt.Paint paint)
Set the Paint to put in the background of the wiki.
|
void |
setClean(boolean clean)
Set if the output directory is cleaned before the generation.
|
void |
setCodeHasBackground(boolean codeHasBackground)
Set true if the "code" and "source" elements have a background.
|
void |
setCommentsDatabaseScript(java.io.File script)
Set the search Database Script.
|
void |
setCommentsScript(java.io.File script)
Set the comments Script.
|
void |
setCustomSearchSpec(java.net.URL customSearchSpec)
Set the specification used for the custom search option type.
|
void |
setDefaultHTTPLinksTimeOut(int defaultHTTPTimeout)
Set the default timeout for accessing HTTP links.
|
void |
setDependenciesFile(java.io.File dependencies)
Set the package dependencies.
|
void |
setDynamicMaps(boolean dynamicMaps)
Set if the parser will use javascript dynamic maps (maps loaded by Javascript), or if it will generate images with the maps.
|
void |
setElasticLunrScript(java.io.File elasticLunr)
Set the ElasticLunr Script.
|
void |
setEmptyLinesType(short emptyLinesType)
Set the way empty lines are dumped.
|
void |
setErrorHandler(org.docgene.parser.XMLErrorHandler errorHandler)
Set the error handler which will be used to create and store errors or informations during the parsing.
|
void |
setErrorsViewerType(short errorsViewerType)
Set the editor or browser to open error files.
|
void |
setEscapeNonUTF8(boolean escaped)
Set if non UTF8 characters must be escaped.
|
void |
setFixedLeftMenuOptions(boolean fixedLeftMenuOptions)
Set if the options in the left menu are always present (meaning that all options are present even for the page on which we are).
|
void |
setForkParser(boolean forkParser)
Set true if the parsing should use a fork-join pool to perform the parsing
|
void |
setForkParserSplit(int forkParserSplit)
Set the number of files which should be used to split the parsing
|
boolean |
setFullTextSearch(boolean fullTextSearch)
Set if there is a full text search.
|
void |
setFullTextSearchCompressionLevel(int compressionLevel)
Set the full text search compression level (default is 1, to have an average size).
|
void |
setFullTextSearchDatabase(java.io.File db)
Set the Full Text Search Database.
|
void |
setFullTextSearchDatabaseScript(java.io.File script)
Set the full text search search Database Script.
|
void |
setFullTextSearchRemoveAccents(boolean removeAccents)
Set if the full text search remove accents.
|
void |
setFullTextSearchScript(java.io.File script)
Set the Full Text Search Script.
|
void |
setFullTextSearchUseMetaphone(boolean useMetaphone)
Set if the full text use the Metaphone algorithm.
|
void |
setHasCategories(boolean hasCategories)
Set if the wiki has categories.
|
void |
setHasDictionary(boolean hasDictionary)
Set if the wiki has a dictionary.
|
void |
setHeadless(boolean isHeadless)
Set if the generator must work in an headless environment.
|
void |
setHelpContent(java.io.File content)
Set the help content definition.
|
void |
setHelpContentDeclaration(org.docgene.model.help.HelpContentDeclaration helpContentDecl)
Set the HelpContentDeclaration content.
|
void |
setHelpFile(java.io.File helpFile)
Set the help file.
|
void |
setHelpFileName(java.lang.String helpFileName)
Set the help file name.
|
void |
setHelpOptimizedForSwing(boolean helpOptimizedForSwing)
Set if the help result should be optimized for Swing.
|
void |
setHelpPageWidth(int pageWidth)
Set the page width used for specifying the images width for the help content.
|
void |
setHelpSystem(org.docgene.model.help.HelpSystem helpSystem)
Set the HelpSystem.
|
void |
setHighlightScript(java.io.File script)
Set the highlight Script.
|
void |
setHTTPLinksThreadPool(int poolSize)
Set the size of the Thread pool used for checking http links.
|
void |
setHTTPLinksThreadTimeOut(int httpLinksThreadTimeOut)
Set the timeout for the background thread executor used for checking http links.
|
void |
setIECompatibilityEdge(boolean compat)
Set if the compatibility mode for Internet Explorer is set to the highest value.
|
void |
setIncrementalGeneration(boolean hasIncrementalGeneration)
Set the incremental generation.
|
void |
setIncrementalGenerationFile(java.io.File file)
Set the incremental generation state file.
|
void |
setIndex(java.io.File indexFile)
Set the alternate index File.
|
void |
setIndexGenerationType(char type)
Set the index file generation type.
|
void |
setInputDirs(java.io.File[] dirs)
Set the input directories for the wiki.
|
void |
setInputsSubDirectories(boolean inputsSubDirectories)
Set if the inputs must be the sub-directories of the specified input files.
|
void |
setJQueryScripts(java.io.File jQuery,
java.io.File jQuerytsorter,
java.io.File jQueryUI)
Set the jQuery Scripts.
|
void |
setJQueryUI(java.io.File jQueryUI)
Set the jQuery Scripts.
|
void |
setJustification(char justification)
Set the justification of the elements.
|
void |
setLeaderLineScript(java.io.File script)
Set the LeaderLine Script.
|
void |
setLeftIndexMenu(java.io.File leftIndexMenu)
Set the additional left index menu for the wiki.
|
void |
setLightbox(boolean lightbox)
Set if images have a lightbox effect.
|
void |
setLightboxScript(java.io.File script)
Set the Lightbox Script.
|
void |
setLimit(int limit)
Set the maximum number of articles in the same directory.
|
void |
setLocalLinksOption(char acceptLocalLinks)
Set the accept option for local links.
|
void |
setMapResizerScript(java.io.File script)
Set the map resizer Script.
|
void |
setNotesTooltips(boolean hasTooltips)
Set if the notes have a corresponding tooltip.
|
void |
setNotesTooltipsLength(int length)
Set the text length of the notes tooltips.
|
void |
setNotesTwoColumns(boolean notesTwoColumns)
Set if the notes layout is on two columns.
|
void |
setOpenLayerScript(java.io.File openLayer)
Set the OpenLayer Scripts.
|
void |
setOuputDir(java.io.File dir)
Set the output directory for the wiki.
|
void |
setOutputType(java.lang.String outputType)
Set the output type.
|
void |
setPackageDependencies(org.docgene.model.globals.PackagesDependencies dependencies)
Set the package dependencies.
|
void |
setPageRankIterations(int pageRankIterations)
Set the PageRank algorithm number of iterations, used for the
PageRankOptions.PAGERANK_FIXED_ITERATIONS type. |
void |
setPageRankMaxIterations(int pageRankMaxIterations)
Set the PageRank algorithm maximum number of iterations, used for the
PageRankOptions.PAGERANK_CONVERGE_ITERATIONS type. |
void |
setPageRankSearch(char pageRank)
Set the PageRank algorithm option.
|
void |
setPageRankSearchConvergeDelta(double pageRankConvergeDelta)
Set the delta value for the PageRank algorithm convergences, used for the
PageRankOptions.PAGERANK_CONVERGE_ITERATIONS
type. |
void |
setPreHasBackground(boolean preHasBackground)
Set true if the "pre" elements have a background.
|
void |
setPreScrollingType(char scrollingType)
Set the default scrolling type.
|
void |
setPreventExitType(char preventExit)
Set how the program must exit.
|
void |
setRelaxSyntax(boolean relaxedSyntax)
Set if the syntax of the articles is relaxed.
|
void |
setResourcesGenerationType(char type)
Set the resources generation type.
|
void |
setRightIndexMenu(java.io.File rightIndexMenu)
Set the additional right index menu for the wiki.
|
void |
setSearch(boolean search)
Set if the UI has a Search box.
|
void |
setSearchDatabaseScript(java.io.File script)
Set the search Database Script.
|
void |
setSearchLimit(int searchLimit)
Set the search limit.
|
void |
setSearchScript(java.io.File script)
Set the Search Script.
|
void |
setSearchType(short searchType)
Set if the UI will search on titles in addition for article description.
|
void |
setShowWarnings(boolean showWarnings)
Set if warnings should be presented.
|
void |
setStaticMapsTimeOut(int timeOut)
Set the timeout for static maps.
|
void |
setStyleSheetTheme(java.net.URL styleSheetTheme)
Set the articles StyleSheet theme.
|
void |
setSupportEscaping(boolean escaped)
Set if the parser supports escaping characters in the content of XML articles.
|
void |
setTimeOuts(org.docgene.model.globals.TimeOuts timeouts)
Set the list of URLs with specific timeouts.
|
void |
setTimeOutsFile(java.io.File file)
Set the XML file specifying the URLs TimeOuts.
|
void |
setURLExceptions(org.docgene.model.globals.SiteExceptionsList urlExceptions)
Set the list of URLs which will not be checked for their validity and existence.
|
void |
setURLExceptionsFile(java.io.File file)
Set the XML file specifying the URLs which will not be checked for their validity and existence.
|
void |
setUserAgent(java.lang.String userAgent)
Set the user agent to access external links.
|
void |
setWikiTitle(java.lang.String title)
Set the wiki title, which will be shown in the index page.
|
void |
showErrorsFullPath(boolean errorsFullPath)
Set if the full paths of files should be presented for errors.
|
void |
showGlossaryErrors(boolean showGlossaryErrors)
Set if the glossary errors are checked.
|
void |
showWikilinksTooltips(boolean show)
Set if there are wiki links tooltips.
|
void |
updateComments()
Set if comments are included.
|
boolean |
useInputsSubDirectories()
Return true if the inputs must be the sub-directories of the specified input files.
|
public org.mdiutil.swing.ExtensionFileFilter xmlFilter
public org.mdiutil.swing.ExtensionFileFilter cssFilter
public org.mdiutil.swing.ExtensionFileFilter imageFilter
public org.mdiutil.swing.ExtensionFileFilter allImageFilter
public org.mdiutil.swing.ExtensionFileFilter mdFilter
public org.mdiutil.swing.ExtensionFileFilter mdxmlFilter
public org.mdiutil.swing.ExtensionFileFilter propertiesFilter
public void preventErrorWindowShow(boolean preventErrorWindowShow)
preventErrorWindowShow
- true if the error window must not be shownpublic boolean isPreventingErrorWindowShow()
public org.mdiutil.swing.ExtensionFileFilter createFilter(java.lang.String extension)
extension
- the extensionpublic void setArticlesModel(ArticlesModel model)
model
- the modelpublic ArticlesModel getArticlesModel()
public java.net.URL getLocationDir()
public java.net.URLClassLoader getMathFormulaLoader()
public org.docgene.parser.XMLDocJHandler getMathFormulaHandler()
public static Configuration getInstance()
public java.lang.String getVersion()
public java.lang.String getDate()
public void reset()
public org.docgene.main.ProxyConfiguration getProxyConfiguration()
public void setOutputType(java.lang.String outputType)
outputType
- the output typepublic java.lang.String getOutputType()
public boolean isHTMLOutputType()
public boolean isHelpOutputType()
public void setInputDirs(java.io.File[] dirs)
dirs
- the input directoriespublic java.io.File[] getInputDirs()
public void setInputsSubDirectories(boolean inputsSubDirectories)
inputsSubDirectories
- true if the inputs must be the sub-directories of the specified input filespublic boolean useInputsSubDirectories()
public void setOuputDir(java.io.File dir)
dir
- the output directorypublic java.io.File getOuputDirectory()
public java.net.URL getOuputDirectoryURL()
public void setIndexGenerationType(char type)
type
- the generation typeFileGenerationType
public char getIndexGenerationType()
FileGenerationType
public void setResourcesGenerationType(char type)
type
- the generation typeFileGenerationType
public char getResourcesGenerationType()
FileGenerationType
public void setUserAgent(java.lang.String userAgent)
userAgent
- the user agent to access external linkspublic java.lang.String getUserAgent()
public void setAdditionalCSS(java.io.File css)
css
- the CSS filepublic java.io.File getAdditionalCSS()
public void setAdditionalCSSOutput(java.io.File css)
css
- the CSS filepublic java.io.File getAdditionalCSSOutput()
public void setBackgroundOpacity(int opacity)
opacity
- the opacitypublic int getBackgroundOpacity()
public boolean hasBackgroundOpacity()
public void setBackgroundGlobal(boolean isGlobal)
isGlobal
- true if the background is applied to all pagespublic boolean isBackgroundGlobal()
public void setBackground(java.io.File background)
background
- the image filepublic java.io.File getBackground()
public void setBackgroundPaint(java.awt.Paint paint)
paint
- the Paintpublic java.awt.Paint getBackgroundPaint()
public boolean hasBackground()
public void setCodeHasBackground(boolean codeHasBackground)
codeHasBackground
- true if the "code" and "source" elements have a backgroundpublic boolean hasCodeBackground()
public void setPreHasBackground(boolean preHasBackground)
preHasBackground
- true if the "pre" elements have a backgroundpublic boolean hasPreBackground()
public void setLeftIndexMenu(java.io.File leftIndexMenu)
leftIndexMenu
- the additional left index menu for the wikipublic java.io.File getLeftIndexMenu()
public void setIndex(java.io.File indexFile)
indexFile
- the index Filepublic java.io.File getIndex()
public boolean hasAlternateIndex()
public void setRightIndexMenu(java.io.File rightIndexMenu)
rightIndexMenu
- the additional right index menu for the wikipublic java.io.File getRightIndexMenu()
public void setAdditionalFooter(java.io.File footer)
footer
- the additional footer contentpublic java.io.File getAdditionalFooter()
public java.net.URL getInputSearchScript()
public java.net.URL getInputFullTextSearchScript()
public void setSearchDatabaseScript(java.io.File script)
script
- the Search Scriptpublic java.io.File getSearchDatabaseScript()
public void setSearchScript(java.io.File script)
script
- the Search Scriptpublic java.io.File getSearchScript()
hasSearchOnTitles()
is set to true or false.public void setFullTextSearchDatabaseScript(java.io.File script)
script
- the full text search search Database Scriptpublic java.io.File getFullTextSearchDatabaseScript()
public void setFullTextSearchScript(java.io.File script)
script
- the Full Text Search Scriptpublic java.io.File getFullTextSearchScript()
public void setFullTextSearchDatabase(java.io.File db)
db
- the Full Text Search Databasepublic java.io.File getFullTextSearchDatabase()
public java.net.URL getInputCommentsScript()
public void setCommentsScript(java.io.File script)
script
- the comments Scriptpublic java.io.File getCommentsScript()
public void setCommentsDatabaseScript(java.io.File script)
script
- the Search Scriptpublic java.io.File getCommentsDatabaseScript()
public boolean hasCommentsDatabaseScript()
public void setHighlightScript(java.io.File script)
script
- the highlight Scriptpublic java.io.File getHighlightScript()
public boolean hasHighlightScript()
public java.net.URL getHighlightScriptURL()
public void setLeaderLineScript(java.io.File script)
script
- the LeaderLine Scriptpublic java.io.File getLeaderLineScript()
public boolean hasLeaderLineScript()
public java.net.URL getLeaderLineScriptURL()
public void setMapResizerScript(java.io.File script)
script
- the map resizer Scriptpublic java.io.File getMapResizerScript()
public boolean hasMapResizerScript()
public java.net.URL getMapResizerScriptURL()
public void setLightboxScript(java.io.File script)
script
- the Lightbox Scriptpublic java.net.URL getLightboxScriptURL()
public java.io.File getLightboxScript()
public void setJQueryScripts(java.io.File jQuery, java.io.File jQuerytsorter, java.io.File jQueryUI)
jQuery
- the jQuery ScriptjQuerytsorter
- the jQuery Table sorter ScriptjQueryUI
- the jQueryUI Scriptpublic void setJQueryUI(java.io.File jQueryUI)
jQueryUI
- the jQuery UI CSSpublic java.io.File getJQueryUICSS()
public boolean hasJQueryUICSS()
public java.io.File getJQueryScript()
public boolean hasJQueryScript()
public java.io.File getJQueryTableSorterScript()
public boolean hasJQueryTableSorterScript()
public java.io.File getJQueryUIScript()
public boolean hasJQueryUIScript()
public void setElasticLunrScript(java.io.File elasticLunr)
elasticLunr
- the ElasticLunr scriptpublic java.io.File getElasticLunrScript()
public boolean hasElasticLunrScript()
public void setOpenLayerScript(java.io.File openLayer)
openLayer
- the OpenLayer Scriptpublic java.io.File getOpenLayerScript()
public boolean hasOpenLayerScript()
public java.net.URL getResourceDirectory()
public void setIncrementalGenerationFile(java.io.File file)
file
- the the incremental generation state filepublic java.io.File getIncrementalGenerationFile()
public void setIncrementalGeneration(boolean hasIncrementalGeneration)
hasIncrementalGeneration
- true if the incremental generation is setpublic boolean hasIncrementalGeneration()
public void setAdditionalScript(java.io.File script)
script
- the additional script to use for the headerpublic java.io.File getAdditionalScript()
public void setClean(boolean clean)
clean
- true if the output directory is cleaned before the generationpublic boolean isCleaning()
public void setPreventExitType(char preventExit)
PreventExitType.FALSE
: the program must behave normally and execute a System.exist(0)
at the end of the generationPreventExitType.TRUE
: the program must not do anything at the end of the generationPreventExitType.RUNTIME_EXCEPTION
: the program must throw a ExitRuntimeException
at the end of the generationpreventExit
- the preventExit Typepublic char getPreventExitType()
PreventExitType.FALSE
: the program must behave normally and execute a System.exist(0)
at the end of the generationPreventExitType.TRUE
: the program must not do anything at the end of the generationPreventExitType.RUNTIME_EXCEPTION
: the program must throw a ExitRuntimeException
at the end of the generationpublic void setHeadless(boolean isHeadless)
isHeadless
- true if the generator must work in an headless environmentpublic boolean isHeadless()
public void allowMediawiki(boolean allowMediawiki)
allowMediawiki
- true if the Wikipedia Mediawiki format is accepted for articlespublic boolean isAllowingMediawiki()
public void allowMarkdown(boolean allowMarkdown)
allowMarkdown
- true if the Markdown format is accepted for articlespublic boolean isAllowingMarkdown()
public org.mdiutil.swing.ExtensionFileFilter getArticlesFilter()
isAllowingMediawiki()
or isAllowingMarkdown()
are trueisAllowingMediawiki()
and isAllowingMarkdown()
are falsepublic void setAllowHTMLEntities(boolean allowHTMLEntities)
allowHTMLEntities
- true if HTML entities are allowedpublic boolean isAllowingHTMLEntities()
public void setEscapeNonUTF8(boolean escaped)
escaped
- true if non UTF8 characters must be escapedpublic boolean isEscapingNonUTF8()
public boolean isEscapingContent()
public void showWikilinksTooltips(boolean show)
show
- true if there are wiki links tooltipspublic boolean isShowingWikilinksTooltips()
public void setLocalLinksOption(char acceptLocalLinks)
acceptLocalLinks
- the optionLocalLinksOptions
public char getLocalLinksOption()
public void setAlignment(char alignment)
alignment
- the alignment typeJustifiedElement
public char getAlignment()
public void setJustification(char justification)
justification
- the justification typeJustifiedElement
public char getJustification()
public void setPreScrollingType(char scrollingType)
scrollingType
- the typePreScrollingType
public char getPreScrollingType()
PreScrollingType
public void setSupportEscaping(boolean escaped)
escaped
- true if the parser supports escaping characters in the content of XML articlespublic boolean isSupportingEscaping()
public void setDynamicMaps(boolean dynamicMaps)
dynamicMaps
- true if the parser will use javascript dynamic maps (maps loaded by Javascript)public boolean isDynamicMaps()
public void setIECompatibilityEdge(boolean compat)
compat
- true if the compatibility mode for Internet Explorer is set to the highest valuepublic boolean hasIEHighestCompatibility()
public void setStaticMapsTimeOut(int timeOut)
timeOut
- the timeout for static mapspublic int getStaticMapsTimeOut()
public void setSearch(boolean search)
search
- true if the UI has a Search boxpublic boolean hasSearch()
public void setPageRankSearch(char pageRank)
pageRank
- the PageRank algorithm optionpublic char getPageRankSearch()
public boolean hasPageRankSearch()
public void setPageRankIterations(int pageRankIterations)
PageRankOptions.PAGERANK_FIXED_ITERATIONS
type.pageRankIterations
- the number of iterationspublic int getPageRankIterations()
public void setPageRankMaxIterations(int pageRankMaxIterations)
PageRankOptions.PAGERANK_CONVERGE_ITERATIONS
type.pageRankMaxIterations
- the maximumnumber of iterationspublic int getPageRankMaxIterations()
public void setPageRankSearchConvergeDelta(double pageRankConvergeDelta)
PageRankOptions.PAGERANK_CONVERGE_ITERATIONS
type.pageRankConvergeDelta
- the delta value for the PageRank algorithm convergencepublic double getPageRankSearchConvergeDelta()
public void setSearchLimit(int searchLimit)
searchLimit
- the search limitpublic int getSearchLimit()
public boolean hasSearchLimit()
public void setLightbox(boolean lightbox)
lightbox
- true if images have a lightbox effectpublic boolean hasLightbox()
public void includeComments(boolean includeComments)
includeComments
- true if comments are includedpublic void updateComments()
public boolean isEnablingComments()
public boolean isIncludingComments()
public void includeTODO(boolean includeTODO)
includeTODO
- true if TODOs are includedpublic boolean isIncludingTODO()
public void setShowWarnings(boolean showWarnings)
showWarnings
- true if warnings should be presentedpublic boolean isShowingWarnings()
public void checkLinks(boolean checkLinks)
checkLinks
- true if URLs links are checkedpublic boolean isCheckingLinks()
public void checkLinksThreaded(boolean checkLinksThreaded)
checkLinksThreaded
- true if URLs links are checked in a thread poolpublic boolean isCheckingLinksThreaded()
public void resolveAPILinks(boolean resolveAPILinks)
resolveAPILinks
- true if API links are resolved for APIs which are defined internal to the wiki outputpublic boolean isResolvingAPILinks()
public void checkHTTPLinks(boolean checkHTTPLinks)
checkHTTPLinks
- true if URLs http links are checkedpublic boolean isCheckingHTTPLinks()
public void checkInternalJavaAPI(boolean checkInternalJavaAPI)
checkInternalJavaAPI
- true if the internal Java APIs must be checked if necessarypublic boolean isCheckingInternalJavaAPI()
public void showGlossaryErrors(boolean showGlossaryErrors)
showGlossaryErrors
- true if the glossary errors are checkedpublic boolean isShowingGlossaryErrors()
public void showErrorsFullPath(boolean errorsFullPath)
errorsFullPath
- true if the full paths of files should be presented for errorspublic boolean isShowingErrorsFullPath()
public void setErrorsViewerType(short errorsViewerType)
errorsViewerType
- the editor or browser to open error filespublic short getErrorsViewerType()
public void setEmptyLinesType(short emptyLinesType)
emptyLinesType
- the empty lines typeEmptyLinesType
public short getEmptyLinesType()
public boolean emptyLinesAsNewLines()
public void setDefaultHTTPLinksTimeOut(int defaultHTTPTimeout)
defaultHTTPTimeout
- the default timeout for accessing HTTP linkspublic int getDefaultHTTPLinksTimeOut()
public void setHTTPLinksThreadTimeOut(int httpLinksThreadTimeOut)
httpLinksThreadTimeOut
- the timeout for the background thread executor used for checking http linkspublic int getHTTPLinksThreadTimeOut()
public void setHTTPLinksThreadPool(int poolSize)
poolSize
- the size of the Thread pool used for checking http linkspublic int getHTTPLinksThreadTimePool()
public void setForkParser(boolean forkParser)
forkParser
- true if the parsing should use a fork-join pool to perform the parsingpublic boolean isForkingParser()
public void setForkParserSplit(int forkParserSplit)
forkParserSplit
- the number of files which should be used to split the parsingpublic int getForkParserSplit()
public void setSearchType(short searchType)
searchType
- the search typepublic boolean hasSearchOnTitles()
public boolean hasSearchOnAnchors()
public boolean isCustomSearchType()
public short getSearchType()
public void setFullTextSearchCompressionLevel(int compressionLevel)
compressionLevel
- the full text search compression levelpublic int getFullTextSearchCompressionLevel()
public boolean isFullTextSearchCompressed()
public boolean setFullTextSearch(boolean fullTextSearch)
fullTextSearch
- true if there is a full text searchpublic void setFullTextSearchRemoveAccents(boolean removeAccents)
removeAccents
- true if the full text search remove accentspublic boolean isFullTextSearchRemovingAccents()
public void setFullTextSearchUseMetaphone(boolean useMetaphone)
useMetaphone
- true if the full text use the Metaphone algorithmpublic boolean isFullTextSearchUseMetaphone()
public boolean hasFullTextSearch()
public void pruneAlternateTitlesInDico(boolean pruneAltTitlesInDico)
pruneAltTitlesInDico
- true if alternate titles are automatically pruned in the dictionarypublic boolean isPruningAlternateTitlesInDico()
public void setNotesTooltips(boolean hasTooltips)
hasTooltips
- true if the notes have a corresponding tooltippublic boolean hasNotesTooltips()
public void setNotesTooltipsLength(int length)
length
- the text length of the notes tooltipspublic int getNotesTooltipsLength()
public void setNotesTwoColumns(boolean notesTwoColumns)
notesTwoColumns
- true if the notes layout is on two columnspublic boolean isNotesTwoColumns()
public void setWikiTitle(java.lang.String title)
title
- the wiki titlepublic boolean hasSpecifiedWikiTitle()
public java.lang.String getWikiTitle()
public java.lang.String getWikiTitle(XMLParentArticle article)
article
- the articlepublic java.lang.String getWikiTitle(java.lang.String title)
title
- the element titlepublic void setLimit(int limit)
limit
- the maximum number of articles in the same directorypublic int getLimit()
public boolean hasLimit()
public void setFixedLeftMenuOptions(boolean fixedLeftMenuOptions)
fixedLeftMenuOptions
- true if the options in the left menu are always presentpublic boolean hasFixedLeftMenuOptions()
public void setArticlesTOC(boolean hasTOC)
hasTOC
- true if each article must have a Table of contents by defaultpublic boolean hasArticlesTOC()
public void setArticlesTOCThreshold(int tocThreshold)
tocThreshold
- the threshold for each article Table of contentspublic int getArticlesTOCThreshold()
public void setHasDictionary(boolean hasDictionary)
hasDictionary
- true if the wiki has a dictionarypublic boolean hasDictionary()
public void setHasCategories(boolean hasCategories)
hasCategories
- true if the wiki has a categoriespublic boolean hasCategories()
public void setRelaxSyntax(boolean relaxedSyntax)
relaxedSyntax
- if the syntax of the articles is relaxedpublic boolean hasRelaxedSyntax()
public java.net.URL getStyleSheet()
public void setStyleSheetTheme(java.net.URL styleSheetTheme)
styleSheetTheme
- the articles StyleSheet themepublic java.net.URL getDefaultStyleSheetTheme()
public java.net.URL getStyleSheetTheme()
public java.net.URL getSchema()
public java.net.URL getLeftMenuSchema()
public java.net.URL getImageDefinitionSchema()
public java.net.URL getResourceDefinitionSchema()
public java.net.URL getInfoBoxDefinitionSchema()
public java.net.URL getURLExceptionsSchema()
public java.net.URL getWikiStateSchema()
public java.net.URL getTimeOutsSchema()
public java.net.URL getPackageSchema()
public java.net.URL getDependenciesSchema()
public java.net.URL getHelpContentSchema()
public java.net.URL getAPIDocumentationSchema()
public java.net.URL getCustomSearchSchema()
public void setURLExceptionsFile(java.io.File file)
file
- the XML file specifying the URLs which will not be checked for their validity and existencepublic java.io.File getURLExceptionsFile()
public void setTimeOutsFile(java.io.File file)
file
- the XML file specifying the URLs TimeOutspublic java.io.File getTimeOutsFile()
public void setDependenciesFile(java.io.File dependencies)
dependencies
- the package dependenciespublic java.io.File getDependenciesFile()
public void setPackageDependencies(org.docgene.model.globals.PackagesDependencies dependencies)
dependencies
- the package dependenciespublic org.docgene.model.globals.PackagesDependencies getPackageDependencies()
public java.net.URL getAPIsSchema()
public java.net.URL getJavaAPILangClasses()
public void setAPIsFile(java.io.File file)
file
- the XML file specifying the APIspublic java.io.File getAPIsFile()
public void setAdditionalAPIDocs(java.io.File file)
file
- the File specifying the additional APIs documentation specificationpublic java.net.URL getDefaultAPIDocsURL()
public java.net.URL getAdditionalAPIDocsURL()
public void setHelpFileName(java.lang.String helpFileName)
helpFileName
- the help file namepublic java.lang.String getHelpFileName()
public void setHelpFile(java.io.File helpFile)
helpFile
- the help filepublic java.io.File getHelpFile()
public void setHelpOptimizedForSwing(boolean helpOptimizedForSwing)
helpOptimizedForSwing
- true if the help result should be optimized for Swingpublic boolean isHelpOptimizedForSwing()
public boolean isHTML5Compatible()
public void setHelpPageWidth(int pageWidth)
pageWidth
- the help page widthpublic int getHelpPageWidth()
public void setHelpContent(java.io.File content)
content
- the help content definitionpublic java.net.URL getHelpContent()
public void setCustomSearchSpec(java.net.URL customSearchSpec)
customSearchSpec
- the URL for the specification.public java.net.URL getCustomSearchSpec()
public void setURLExceptions(org.docgene.model.globals.SiteExceptionsList urlExceptions)
urlExceptions
- the list of URLs which will not be checked for their validity and existencepublic org.docgene.model.globals.SiteExceptionsList getURLExceptions()
public void setTimeOuts(org.docgene.model.globals.TimeOuts timeouts)
timeouts
- the URLs of URLs with specific timeoutspublic org.docgene.model.globals.TimeOuts getTimeOuts()
public void setErrorHandler(org.docgene.parser.XMLErrorHandler errorHandler)
errorHandler
- the error handlerpublic org.docgene.parser.XMLErrorHandler getErrorHandler()
public void setHelpContentDeclaration(org.docgene.model.help.HelpContentDeclaration helpContentDecl)
helpContentDecl
- the HelpContentDeclaration contentpublic org.docgene.model.help.HelpContentDeclaration getHelpContentDeclaration()
public void setHelpSystem(org.docgene.model.help.HelpSystem helpSystem)
helpSystem
- the HelpSystempublic org.docgene.model.help.HelpSystem getHelpSystem()
public org.docgene.model.globals.apidocs.APIDocumentations getAPIDocumentations()
public org.docgene.main.props.CountProperty getCount()
Properties.getCount()
.Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence