|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.wiki.ResourceReference
public class ResourceReference
A reference to a resource that can be linked. A resource represents the target of a link. Resources are usually entity representations.
| Nested Class Summary | |
|---|---|
static class |
ResourceReference.ResourceType
Lists the type of resources that can be linked. |
| Constructor Summary | |
|---|---|
ResourceReference()
|
|
| Method Summary | |
|---|---|
ResourceReference |
clone()
|
EntityReference |
getEntityReference()
|
Map<String,String> |
getParameters()
|
ResourceReference.ResourceType |
getType()
|
boolean |
isTyped()
|
void |
setEntityReference(EntityReference entityReference)
Sets the entity reference. |
void |
setType(ResourceReference.ResourceType type)
Sets the resource type. |
void |
setTyped(boolean typed)
Sets whether the resource type has been explicitly provided or not. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceReference()
| Method Detail |
|---|
public ResourceReference.ResourceType getType()
public void setType(ResourceReference.ResourceType type)
type - the new resource typepublic boolean isTyped()
true if the resource type has been explicitly provided, i.e. if the scheme corresponding to the
resource type was included in the resource referencepublic void setTyped(boolean typed)
typed - true if the resource type has been explicitly provided, i.e. if the scheme corresponding to
the resource type was included in the resource reference, false otherwisepublic EntityReference getEntityReference()
public void setEntityReference(EntityReference entityReference)
entityReference - the new entity referencepublic Map<String,String> getParameters()
public ResourceReference clone()
clone in class ObjectObject.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||