org.jboss.dna.repository.util
Class RepositoryNodePath

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

@Immutable
public class RepositoryNodePath
extends Object

Author:
Randall Hauch

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

Constructor Detail

RepositoryNodePath

public RepositoryNodePath(String repositoryName,
                          String nodePath)
Method Detail

parse

public static RepositoryNodePath parse(String path,
                                       String defaultRepositoryWorkspaceName)

getNodePath

public String getNodePath()
Returns:
nodePath

getRepositoryWorkspaceName

public String getRepositoryWorkspaceName()
Returns:
repositoryName

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-Present JBoss a division of Red Hat. All Rights Reserved.