com.ibm.portal.resolver.helper.cor
Class DefaultContentLocation

java.lang.Object
  extended by com.ibm.portal.resolver.helper.cor.AbstractContentLocation
      extended by com.ibm.portal.resolver.helper.cor.DefaultContentLocation

public abstract class DefaultContentLocation
extends AbstractContentLocation

Minimal implementation of a Content Operations Registry (COR) ContentLocation. The main purpose of the class is to stand as a placeholder for contentlocation to provider ID and type information. Implement services that are associated with content locations via the plugin.xml by specifying service handlers. The location type of the content location needs to be specified by subclasses, the ID of the content location is by default the class name of the subclass.

Since:
6.1.0

Constructor Summary
protected DefaultContentLocation(java.lang.String aLocationType, ContentType aContentType)
           
 
Method Summary
 java.lang.String getId()
           
 Introspector getIntrospector(java.net.URI uri)
           
 java.lang.String getType()
           
 
Methods inherited from class com.ibm.portal.resolver.helper.cor.AbstractContentLocation
getAttributes, getIntrospectors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContentLocation

protected DefaultContentLocation(java.lang.String aLocationType,
                                 ContentType aContentType)
Parameters:
aLocationType - content location type. This value must match the id value in the contentLocationType element in the plugin.xml.
aContentType - identification of the content location type, used for caching purposes
Method Detail

getId

public java.lang.String getId()

getIntrospector

public Introspector getIntrospector(java.net.URI uri)

getType

public java.lang.String getType()