Save This Page
Home » hibernate-entitymanager-3.3.2.GA » org.hibernate » engine » query » [javadoc | source]
org.hibernate.engine.query
public class: ParamLocationRecognizer [javadoc | source]
java.lang.Object
   org.hibernate.engine.query.ParamLocationRecognizer

All Implemented Interfaces:
    Recognizer

Implements a parameter parser recognizer specifically for the purpose of journaling parameter locations.
Method from org.hibernate.engine.query.ParamLocationRecognizer Summary:
ejb3PositionalParameter,   getNamedParameterLocationMap,   getOrdinalParameterLocationList,   namedParameter,   ordinalParameter,   other,   outParameter,   parseLocations
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.query.ParamLocationRecognizer Detail:
 public  void ejb3PositionalParameter(String name,
    int position) 
 public Map getNamedParameterLocationMap() 
    Returns the map of named parameter locations. The map is keyed by parameter name; the corresponding value is an Integer list.
 public List getOrdinalParameterLocationList() 
    Returns the list of ordinal parameter locations. The list elements are Integers, representing the location for that given ordinal. Thus #getOrdinalParameterLocationList() .elementAt(n) represents the location for the nth parameter.
 public  void namedParameter(String name,
    int position) 
 public  void ordinalParameter(int position) 
 public  void other(char character) 
 public  void outParameter(int position) 
 public static ParamLocationRecognizer parseLocations(String query) 
    Convenience method for creating a param location recognizer and initiating the parse.