org.xwiki.rendering.listener.reference
public class ResourceType extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
ResourceType(String scheme) |
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
public ResourceType(String scheme)
scheme - see getScheme()Copyright © 2004-2013 XWiki. All Rights Reserved.