com.ibm.portal.resolver.data
Interface Addressable

All Known Subinterfaces:
ByteDataSource, CharDataSource, DataSource, PocURL, XmlDataSource
All Known Implementing Classes:
PortletURI

public interface Addressable

Interface that allows to retrieve the address of a piece of content. URI and parameters should reference the canonical address of the item.

Since:
6.1.0
Note:
This interface is designed to be implemented by clients.

Method Summary
 java.util.Map<java.lang.String,java.lang.String[]> getParameters()
          Returns an potentially unmodifiable version of the parameters used to address the object, never null, but potentially the empty map.
 java.net.URI getURI()
          Returns the unique identifier of the object
 

Method Detail

getURI

java.net.URI getURI()
                    throws java.net.URISyntaxException
Returns the unique identifier of the object

Returns:
URI of the object, never null
Throws:
java.net.URISyntaxException - - if the URL cannot be constructed

getParameters

java.util.Map<java.lang.String,java.lang.String[]> getParameters()

Returns an potentially unmodifiable version of the parameters used to address the object, never null, but potentially the empty map.

The key is of type String, the values of type String[]

Returns:
parameter map