org.hibernate.hql.ast.util
Class PathHelper

java.lang.Object
  extended byorg.hibernate.hql.ast.util.PathHelper

public final class PathHelper
extends Object

Provides utility methods for paths.

Author:
josh Sep 14, 2004 8:16:29 AM

Method Summary
static String getAlias(String path)
           
static antlr.collections.AST parsePath(String path, antlr.ASTFactory factory)
          Turns a path into an AST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parsePath

public static antlr.collections.AST parsePath(String path,
                                              antlr.ASTFactory factory)
Turns a path into an AST.

Parameters:
path - The path.
factory - The AST factory to use.
Returns:
An HQL AST representing the path.

getAlias

public static String getAlias(String path)