org.modeshape.graph.property
Class PathExpression.Matcher
java.lang.Object
org.modeshape.graph.property.PathExpression.Matcher
- Enclosing class:
- PathExpression
@Immutable
public static class PathExpression.Matcher
- extends Object
PathExpression.Matcher
protected PathExpression.Matcher(Matcher inputMatcher,
String inputPath,
String selectedRepository,
String selectedWorkspace,
String selectedPath)
matches
public boolean matches()
getInputPath
public String getInputPath()
- Returns:
- inputPath
getSelectedNodePath
public String getSelectedNodePath()
- Returns:
- selectPattern
getSelectedRepositoryName
public String getSelectedRepositoryName()
- Get the name of the selected repository.
- Returns:
- the repository name, or null if there is none specified
getSelectedWorkspaceName
public String getSelectedWorkspaceName()
- Get the name of the selected workspace.
- Returns:
- the workspace name, or null if there is none specified
groupCount
public int groupCount()
group
public String group(int groupNumber)
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-2012 JBoss, a division of Red Hat. All Rights Reserved.