|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.listener.reference.ResourceType
public class ResourceType
The Resource type. It can be one of:
| Field Summary | |
|---|---|
static ResourceType |
ATTACHMENT
Represents an attachment. |
static ResourceType |
DOCUMENT
Represents a Document. |
static ResourceType |
ICON
Represents an icon. |
static ResourceType |
INTERWIKI
Represents a document in another wiki. |
static ResourceType |
MAILTO
Represents a mail. |
static ResourceType |
PATH
Represents a relative URL in the current wiki. |
static ResourceType |
UNC
Represents a UNC (Universal Naming Convention) (eg "\\myserver\myshare\mydoc.txt"). |
static ResourceType |
UNKNOWN
Special type to be used when the type of the resource is not known. |
static ResourceType |
URL
Represents an URL. |
| Constructor Summary | |
|---|---|
ResourceType(String scheme)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getScheme()
|
int |
hashCode()
|
void |
setScheme(String scheme)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ResourceType UNKNOWN
public static final ResourceType DOCUMENT
public static final ResourceType URL
public static final ResourceType INTERWIKI
public static final ResourceType PATH
public static final ResourceType MAILTO
public static final ResourceType ATTACHMENT
public static final ResourceType ICON
public static final ResourceType UNC
| Constructor Detail |
|---|
public ResourceType(String scheme)
scheme - see getScheme()| Method Detail |
|---|
public String getScheme()
public void setScheme(String scheme)
scheme - see getScheme()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object object)
equals in class ObjectObject.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||