jInfer

cz.cuni.mff.ksi.jinfer.functionalDependencies
Class Path

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.functionalDependencies.Path

public class Path
extends Object

Class representing path.


Constructor Summary
Path(String path)
          Constructor which gets String representation of the path.
 
Method Summary
 boolean equals(Object obj)
           
 String getPathValue()
          Get the string representation of this path.
 int hashCode()
           
 boolean isElementPath()
          Chesk if this path point to the element, i.e.
 boolean isStringPath()
          Check if this path is a leaf path, i.e.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Path

public Path(String path)
Constructor which gets String representation of the path.

Parameters:
path - String representation of the path.
Method Detail

isStringPath

public boolean isStringPath()
Check if this path is a leaf path, i.e. it points to the string value of the element of attribute.

Returns:
true if this path represents string value.

isElementPath

public boolean isElementPath()
Chesk if this path point to the element, i.e. is not a string path.

Returns:
true if this path represents element.

getPathValue

public String getPathValue()
Get the string representation of this path.

Returns:
String representation of this path.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011