org.jboss.dna.repository.util
Class RepositoryNodePath

java.lang.Object
  extended by org.jboss.dna.repository.util.RepositoryNodePath

@Immutable
public class RepositoryNodePath
extends Object

An immutable representation of a path to a node within the named workspace of a named repository source.


Constructor Summary
RepositoryNodePath(String repositorySourceName, String workspaceName, String nodePath)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getNodePath()
           
 String getRepositorySourceName()
           
 String getWorkspaceName()
           
 int hashCode()
          
static RepositoryNodePath parse(String path, String repositorySourceName, String defaultRepositoryWorkspaceName)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryNodePath

public RepositoryNodePath(String repositorySourceName,
                          String workspaceName,
                          String nodePath)
Method Detail

parse

public static RepositoryNodePath parse(String path,
                                       String repositorySourceName,
                                       String defaultRepositoryWorkspaceName)

getNodePath

public String getNodePath()
Returns:
nodePath

getRepositorySourceName

public String getRepositorySourceName()
Returns:
repositoryName

getWorkspaceName

public String getWorkspaceName()
Returns:
the workspace name

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


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