Package org.xwiki.refactoring
Class WikiDocument
- java.lang.Object
-
- org.xwiki.refactoring.WikiDocument
-
public class WikiDocument extends Object
Represents an in-memory wiki page used by theDocumentSplitter
interface.- Since:
- 1.9M1
- Version:
- $Id: b91255e9f3a9adc06b6942c01e88f1fa04c6bc05 $
-
-
Constructor Summary
Constructors Constructor Description WikiDocument(String fullName, org.xwiki.rendering.block.XDOM xdom, WikiDocument parent)
Deprecated.since 14.10.2, 15.0RC1 useWikiDocument(DocumentReference, XDOM, WikiDocument)
insteadWikiDocument(org.xwiki.model.reference.DocumentReference documentReference, org.xwiki.rendering.block.XDOM xdom, WikiDocument parent)
Constructs a newWikiDocument
.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
org.xwiki.model.reference.DocumentReference
getDocumentReference()
String
getFullName()
Deprecated.since 14.10.2, 15.0RC1 usegetDocumentReference()
insteadWikiDocument
getParent()
org.xwiki.rendering.block.XDOM
getXdom()
int
hashCode()
-
-
-
Constructor Detail
-
WikiDocument
@Deprecated public WikiDocument(String fullName, org.xwiki.rendering.block.XDOM xdom, WikiDocument parent)
Deprecated.since 14.10.2, 15.0RC1 useWikiDocument(DocumentReference, XDOM, WikiDocument)
insteadConstructs a newWikiDocument
.- Parameters:
fullName
- full name of the target wiki pagexdom
-XDOM
for the target wiki pageparent
- the parentWikiDocument
of this document
-
WikiDocument
@Unstable public WikiDocument(org.xwiki.model.reference.DocumentReference documentReference, org.xwiki.rendering.block.XDOM xdom, WikiDocument parent)
Constructs a newWikiDocument
.- Parameters:
documentReference
- the reference of the target wiki pagexdom
-XDOM
for the target wiki pageparent
- the parentWikiDocument
of this document- Since:
- 14.10.2, 15.0RC1
-
-
Method Detail
-
getFullName
@Deprecated public String getFullName()
Deprecated.since 14.10.2, 15.0RC1 usegetDocumentReference()
instead- Returns:
- full name of the target wiki page
-
getDocumentReference
@Unstable public org.xwiki.model.reference.DocumentReference getDocumentReference()
- Returns:
- the reference of the target wiki page
- Since:
- 14.10.2, 15.0RC1
-
getXdom
public org.xwiki.rendering.block.XDOM getXdom()
- Returns:
- the
XDOM
of the target wiki page
-
getParent
public WikiDocument getParent()
- Returns:
- the parent
WikiDocument
of this document
-
-