org.jboss.dna.repository.util
Class RepositoryNodePath
java.lang.Object
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.
RepositoryNodePath
public RepositoryNodePath(String repositorySourceName,
String workspaceName,
String nodePath)
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.