public abstract class BaseWikiPage extends java.lang.Object implements WikiPage
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected WikiPage |
parent |
Constructor and Description |
---|
BaseWikiPage(java.lang.String name,
WikiPage parent) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WikiPage other) |
boolean |
equals(java.lang.Object other) |
java.lang.String |
getName() |
WikiPage |
getParent() |
boolean |
hasChildPage(java.lang.String pageName) |
int |
hashCode() |
boolean |
isRoot() |
void |
remove()
Remove this page.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addChildPage, commit, getChildPage, getChildren, getData, getFullPath, getHtml, getPageCrawler, getRealPage, getVariable, getVersion, getVersions, isSuiteSetupOrTearDown, isSymbolicPage, removeChildPage
protected final java.lang.String name
protected final WikiPage parent
public BaseWikiPage(java.lang.String name, WikiPage parent)
public boolean hasChildPage(java.lang.String pageName)
hasChildPage
in interface WikiPage
public WikiPage getParent()
public boolean isRoot()
public void remove()
WikiPage
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(WikiPage other)
compareTo
in interface java.lang.Comparable<WikiPage>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object