org.xwiki.bridge
Class DocumentName

java.lang.Object
  extended by org.xwiki.bridge.DocumentName
All Implemented Interfaces:
Serializable

Deprecated. use DocumentReference instead since 2.2M1

@Deprecated
public class DocumentName
extends Object
implements Serializable

Represents a document name (wiki, space and page names).

Since:
1.8RC2
Version:
$Id$
See Also:
Serialized Form

Constructor Summary
DocumentName(String wiki, String space, String page)
          Deprecated.  
 
Method Summary
 boolean equals(Object obj)
          Deprecated. 
 String getPage()
          Deprecated.  
 String getSpace()
          Deprecated.  
 String getWiki()
          Deprecated.  
 int hashCode()
          Deprecated. 
 String toString()
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentName

public DocumentName(String wiki,
                    String space,
                    String page)
Deprecated. 
Parameters:
wiki - the wiki to which the document belongs to (eg "xwiki")
space - the space to which the document belongs to (eg "Main")
page - the page to which the document belongs to (eg "WebHome")
Method Detail

getWiki

public String getWiki()
Deprecated. 
Returns:
the wiki to which the document belongs to

getSpace

public String getSpace()
Deprecated. 
Returns:
the space to which the document belongs to

getPage

public String getPage()
Deprecated. 
Returns:
the page to which the document belongs to

toString

public String toString()
Deprecated. 

Overrides:
toString in class Object
See Also:
Object.toString()

equals

public boolean equals(Object obj)
Deprecated. 

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Deprecated. 

Overrides:
hashCode in class Object
See Also:
Object.hashCode()


Copyright © 2004-2011 XWiki. All Rights Reserved.