ModeShape Distribution 3.5.0.Final

org.modeshape.jcr
Class Connectors.EmptyPathMappings

java.lang.Object
  extended by org.modeshape.jcr.Connectors.AbstractPathMappings
      extended by org.modeshape.jcr.Connectors.EmptyPathMappings
All Implemented Interfaces:
Connectors.PathMappings
Enclosing class:
Connectors

@Immutable
protected static final class Connectors.EmptyPathMappings
extends Connectors.AbstractPathMappings


Field Summary
 
Fields inherited from class org.modeshape.jcr.Connectors.AbstractPathMappings
connectorSourceName, EMPTY, pathFactory
 
Constructor Summary
protected Connectors.EmptyPathMappings(String connectorSourceName, PathFactory pathFactory)
           
 
Method Summary
 Collection<WorkspaceAndPath> resolveExternalPathToInternal(Path externalPath)
          Attempt to resolve the supplied external path (from the point of view of a connector) to the internal repository path(s) using the connector's projections at the time this object was obtained.
 String toString()
           
 
Methods inherited from class org.modeshape.jcr.Connectors.AbstractPathMappings
getConnectorSourceName, getPathFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Connectors.EmptyPathMappings

protected Connectors.EmptyPathMappings(String connectorSourceName,
                                       PathFactory pathFactory)
Method Detail

resolveExternalPathToInternal

public Collection<WorkspaceAndPath> resolveExternalPathToInternal(Path externalPath)
Description copied from interface: Connectors.PathMappings
Attempt to resolve the supplied external path (from the point of view of a connector) to the internal repository path(s) using the connector's projections at the time this object was obtained. This method returns an empty collection if the external node at the given path is not projected into the repository.

Parameters:
externalPath - the external path of a node in the tree of content exposed by the connector; this path is from the point of view of the connector.
Returns:
the resolved repository paths, each in the associated named workspaces, or an empty collection if this mapping projected the supplied external path

toString

public String toString()
Overrides:
toString in class Object

ModeShape Distribution 3.5.0.Final

Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.