## org.hibernate.sql.ordering.antlr
Class Factory

    java.lang.Object
      antlr.ASTFactory
          org.hibernate.sql.ordering.antlr.Factory

All Implemented Interfaces:
  OrderByTemplateTokenTypes

    public class Factory

extends antlr.ASTFactory
implements OrderByTemplateTokenTypes

Acts as a `ASTFactory` for injecting our specific AST node classes into the Antlr generated trees.

Author:
  Steve Ebersole

Field Summary

Fields inherited from class antlr.ASTFactory
`theASTNodeType, theASTNodeTypeClass, tokenTypeToASTClassMap`

Fields inherited from interface org.hibernate.sql.ordering.antlr.OrderByTemplateTokenTypes
`ASCENDING, CLOSE_PAREN, COLLATE, COLUMN_REF, COMMA, DESCENDING, DOT, EOF, ESCqs, EXPONENT, EXPR_LIST, FLOAT_SUFFIX, HARD_QUOTE, HEX_DIGIT, ID_LETTER, ID_START_LETTER, IDENT, IDENT_LIST, LITERAL_ascending, LITERAL_descending, NULL_TREE_LOOKAHEAD, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OPEN_PAREN, ORDER_BY, ORDER_SPEC, QUOTED_STRING, SORT_KEY, SORT_SPEC, WS`

Constructor Summary
`Factory()`

Method Summary
`Class` `getASTNodeType(int i)`

Methods inherited from class antlr.ASTFactory
`addASTChild, create, create, create, create, create, create, create, create, create, createUsingCtor, dup, dupList, dupTree, error, getTokenTypeToASTClassMap, make, make, makeASTRoot, setASTNodeClass, setASTNodeClass, setASTNodeType, setTokenTypeASTNodeType, setTokenTypeToASTClassMap`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Factory

    public Factory()

Method Detail

### getASTNodeType

    public Class getASTNodeType(int i)

  Overrides:
    `getASTNodeType` in class `antlr.ASTFactory`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.