org.modeshape.graph.property
Class PathExpression.Matcher

java.lang.Object
  extended by org.modeshape.graph.property.PathExpression.Matcher
Enclosing class:
PathExpression

@Immutable
public static class PathExpression.Matcher
extends Object


Constructor Summary
protected PathExpression.Matcher(Matcher inputMatcher, String inputPath, String selectedPath)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getInputPath()
           
 String getSelectedNodePath()
           
 String group(int groupNumber)
           
 int groupCount()
           
 int hashCode()
          
 boolean matches()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathExpression.Matcher

protected PathExpression.Matcher(Matcher inputMatcher,
                                 String inputPath,
                                 String selectedPath)
Method Detail

matches

public boolean matches()

getInputPath

public String getInputPath()
Returns:
inputPath

getSelectedNodePath

public String getSelectedNodePath()
Returns:
selectPattern

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