org.xwiki.gwt.wysiwyg.client.wiki
Class URIReference

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.wiki.URIReference

public class URIReference
extends Object

A reference to an external entity identified by an URI.

Version:
$Id: 9f2b443b7df7d62003e0ff276eaf7c88e2ebce59 $

Field Summary
static String URI
          The component that stores the URI that identifies the reference entity.
 
Constructor Summary
URIReference()
          Default constructor.
URIReference(EntityReference entityReference)
          Creates a typed URI reference.
URIReference(String uri)
          Creates a new typed reference that points to the external entity identified by the given URI.
 
Method Summary
 EntityReference getEntityReference()
           
 String getURI()
           
 void setURI(String uri)
          Sets the URI that identifies the referenced entity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final String URI
The component that stores the URI that identifies the reference entity.

See Also:
Constant Field Values
Constructor Detail

URIReference

public URIReference()
Default constructor.


URIReference

public URIReference(EntityReference entityReference)
Creates a typed URI reference.

Parameters:
entityReference - an untyped entity reference

URIReference

public URIReference(String uri)
Creates a new typed reference that points to the external entity identified by the given URI.

Parameters:
uri - an URI
Method Detail

getEntityReference

public EntityReference getEntityReference()
Returns:
the underlying, untyped, entity reference

getURI

public String getURI()
Returns:
the URI that identifies the referenced entity

setURI

public void setURI(String uri)
Sets the URI that identifies the referenced entity.

Parameters:
uri - an URI


Copyright © 2004–2014 XWiki. All rights reserved.