org.modeshape.repository.util
Class RepositoryNodePath
java.lang.Object
org.modeshape.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.
PATTERN
protected static final Pattern PATTERN
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-2010 JBoss, a division of Red Hat. All Rights Reserved.