org.xwiki.model.reference
Class LocalDocumentReference

java.lang.Object
  extended by org.xwiki.model.reference.EntityReference
      extended by org.xwiki.model.reference.LocalDocumentReference
All Implemented Interfaces:
Serializable, Cloneable, Comparable<EntityReference>

public class LocalDocumentReference
extends EntityReference

Represents a reference to a document in the current wiki.

Since:
5.0M1
Version:
$Id: f901bda28d6adaa73782257f766611bf126040c9 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xwiki.model.reference.EntityReference
TOSTRING_SERIALIZER
 
Constructor Summary
LocalDocumentReference(DocumentReference documentReference)
           
LocalDocumentReference(String spaceName, String pageName)
          Create a new Document reference in the current wiki.
 
Method Summary
 
Methods inherited from class org.xwiki.model.reference.EntityReference
appendParent, compareTo, equals, extractReference, getName, getParameter, getParent, getReversedReferenceChain, getRoot, getType, hashCode, removeParent, replaceParent, setName, setParameter, setParameters, setParent, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalDocumentReference

public LocalDocumentReference(String spaceName,
                              String pageName)
Create a new Document reference in the current wiki.

Parameters:
spaceName - the name of the space containing the document, must not be null
pageName - the name of the document, must not be null

LocalDocumentReference

public LocalDocumentReference(DocumentReference documentReference)
Parameters:
documentReference - the full document reference
Since:
5.2M2


Copyright © 2004-2013 XWiki. All Rights Reserved.