EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Class DefaultJPQLQueryFormatter

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
      extended by org.eclipse.persistence.jpa.jpql.model.AbstractJPQLQueryFormatter
          extended by org.eclipse.persistence.jpa.jpql.model.DefaultJPQLQueryFormatter
All Implemented Interfaces:
IJPQLQueryFormatter, StateObjectVisitor

public class DefaultJPQLQueryFormatter
extends AbstractJPQLQueryFormatter

The default implementation of a IJPQLQueryFormatter, which support creating a string representation of a JPQL query written for JPA 1.0 and 2.0.

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.persistence.jpa.jpql.model.IJPQLQueryFormatter
IJPQLQueryFormatter.IdentifierStyle
 
Field Summary
 
Fields inherited from class org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
COMMA, COMMA_SPACE, LEFT_PARENTHESIS, RIGHT_PARENTHESIS, SPACE, style, writer
 
Constructor Summary
DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
          Creates a new DefaultJPQLQueryFormatter.
 
Method Summary
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.AbstractJPQLQueryFormatter
newLine, toStringAggregateFunction, toStringChildren, toStringCompound, toStringConditional, toStringDoubleEncapsulated, toStringEncapsulatedIdentificationVariable, toStringFromClause, toStringIdentificationVariableDeclaration, toStringModifyStatement, toStringPathExpression, toStringRangeVariableDeclaration, toStringSelectStatement, toStringSimpleStateObject, toStringSingleEncapsulated, toStringTripleEncapsulated, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.model.BaseJPQLQueryFormatter
formatIdentifier, getIdentifierStyle, toString, toString, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultJPQLQueryFormatter

public DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a new DefaultJPQLQueryFormatter.

Parameters:
style - Determines how the JPQL identifiers are written out
Throws:
java.lang.NullPointerException - The IdentifierStyle cannot be null

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference