Package org.apache.wiki.htmltowiki
Class XHtmlToWikiConfig
java.lang.Object
org.apache.wiki.htmltowiki.XHtmlToWikiConfig
public class XHtmlToWikiConfig extends java.lang.Object
Defines a Wiki configuration to XHtmlToWikiTranslator, including things like URLs.
-
Constructor Summary
Constructors Constructor Description XHtmlToWikiConfig()Creates a new, empty config object.XHtmlToWikiConfig(Context wikiContext)The constructor initializes the different internal fields according to the current URLConstructor. -
Method Summary
Modifier and Type Method Description java.lang.StringgetAttachPage()Return the URL for the attachments.java.lang.StringgetEditJspPage()Return the URI to the Edit.jsp page.java.lang.StringgetOutlink()Gets the URL of the outlink image.java.lang.StringgetPageInfoJsp()Get the PageInfo.jsp URI.java.lang.StringgetPageName()Get the page name.java.lang.StringgetWikiJspPage()Get the URI to the Wiki.jsp view.voidsetAttachPage(java.lang.String attachPage)Set the URL for attachments.voidsetEditJspPage(java.lang.String editJspPage)Set the URI to the Edit.jsp page.voidsetOutlink(java.lang.String outlink)Set the outlink URL.voidsetPageInfoJsp(java.lang.String pageInfoJsp)Set the URI for the page info display.voidsetPageName(java.lang.String pageName)Set the page name.voidsetWikiJspPage(java.lang.String wikiJspPage)Set the URI to the Wiki.jsp.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XHtmlToWikiConfig
public XHtmlToWikiConfig()Creates a new, empty config object. -
XHtmlToWikiConfig
The constructor initializes the different internal fields according to the current URLConstructor.- Parameters:
wikiContext- A WikiContext
-
-
Method Details
-
getAttachPage
Return the URL for the attachments.- Returns:
- URL for attachments.
-
setAttachPage
Set the URL for attachments.- Parameters:
attachPage- The attachment URL.
-
getOutlink
Gets the URL of the outlink image.- Returns:
- The URL of the outlink image.
-
setOutlink
Set the outlink URL.- Parameters:
outlink- The outlink URL.
-
getPageInfoJsp
Get the PageInfo.jsp URI.- Returns:
- The URI for the page info display.
-
setPageInfoJsp
Set the URI for the page info display.- Parameters:
pageInfoJsp- URI for the page info.
-
getPageName
Get the page name.- Returns:
- The Page Name.
-
setPageName
Set the page name.- Parameters:
pageName- The name of the page.
-
getWikiJspPage
Get the URI to the Wiki.jsp view.- Returns:
- The URI to the Wiki.jsp.
-
setWikiJspPage
Set the URI to the Wiki.jsp.- Parameters:
wikiJspPage- The URI to the Wiki.jsp.
-
getEditJspPage
Return the URI to the Edit.jsp page.- Returns:
- The URI to the Edit.jsp page.
-
setEditJspPage
Set the URI to the Edit.jsp page.- Parameters:
editJspPage- The Edit.jsp URI.
-