FileDocCategorySizeDatePackage
ParserHelper.javaAPI DocHibernate 3.2.5967Mon May 23 14:54:14 BST 2005org.hibernate.hql.classic

ParserHelper

public final class ParserHelper extends Object

Fields Summary
public static final String
HQL_VARIABLE_PREFIX
public static final String
HQL_SEPARATORS
public static final String
PATH_SEPARATORS
Constructors Summary
private ParserHelper()

		//cannot instantiate
	
Methods Summary
public static booleanisWhitespace(java.lang.String str)


	     
		return StringHelper.WHITESPACE.indexOf( str ) > -1;
	
public static voidparse(Parser p, java.lang.String text, java.lang.String seperators, QueryTranslatorImpl q)

		StringTokenizer tokens = new StringTokenizer( text, seperators, true );
		p.start( q );
		while ( tokens.hasMoreElements() ) p.token( tokens.nextToken(), q );
		p.end( q );