Class WikiDocument


  • public class WikiDocument
    extends Object
    Represents an in-memory wiki page used by the DocumentSplitter interface.
    Since:
    1.9M1
    Version:
    $Id: b91255e9f3a9adc06b6942c01e88f1fa04c6bc05 $
    • Constructor Detail

      • WikiDocument

        @Unstable
        public WikiDocument​(org.xwiki.model.reference.DocumentReference documentReference,
                            org.xwiki.rendering.block.XDOM xdom,
                            WikiDocument parent)
        Constructs a new WikiDocument.
        Parameters:
        documentReference - the reference of the target wiki page
        xdom - XDOM for the target wiki page
        parent - the parent WikiDocument of this document
        Since:
        14.10.2, 15.0RC1
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object