Top Fields Constructors Methods
org.hibernate.graph.internal.parse

public Class GraphParser

extends GeneratedGraphParser
Class Inheritance
Imports
org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.graph.InvalidGraphException, org.hibernate.graph.spi.AttributeNodeImplementor, .GraphImplementor, org.hibernate.internal.util.StringHelper, org.hibernate.internal.util.collections.Stack, .StandardStack, org.hibernate.internal.util.io.CharSequenceReader, org.jboss.logging.Logger, antlr.RecognitionException, .Token, .TokenStreamException

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Stack<AttributeNodeImplementor<?>>
private final Stack<SubGraphGenerator>
private final Stack<GraphImplementor<?>>
public static final Logger
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from org.hibernate.graph.internal.parse.GeneratedGraphParser:
_tokenNames_tokenSet_0_tokenSet_1_tokenSet_2_tokenSet_3

Constructor Summary

AccessConstructor and Description
private
GraphParser(CharSequence charSequence, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected void
protected void
public static void
parseInto(GraphImplementor<?> targetGraph, CharSequence graphString, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Parse the passed graph textual representation into the passed Graph.
private AttributeNodeImplementor<J>
private PathQualifierType
protected void
protected void
protected void
public void
public void
Inherited from org.hibernate.graph.internal.parse.GeneratedGraphParser:
attributeNodeattributePathgraphsubGraph

Field Detail

attributeNodeStackback to summary
private final Stack<AttributeNodeImplementor<?>> attributeNodeStack
graphSourceStackback to summary
private final Stack<SubGraphGenerator> graphSourceStack
graphStackback to summary
private final Stack<GraphImplementor<?>> graphStack
PARSING_LOGGERback to summary
public static final Logger PARSING_LOGGER
sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Constructor Detail

GraphParserback to summary
private GraphParser(CharSequence charSequence, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

finishAttributeback to summary
protected void finishAttribute()

Overrides org.hibernate.graph.internal.parse.GeneratedGraphParser.finishAttribute.

Annotations
@Override
finishSubGraphback to summary
protected void finishSubGraph()

Overrides org.hibernate.graph.internal.parse.GeneratedGraphParser.finishSubGraph.

Annotations
@Override
parseIntoback to summary
public static void parseInto(GraphImplementor<?> targetGraph, CharSequence graphString, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Parse the passed graph textual representation into the passed Graph.

resolveAttributeNodeback to summary
private AttributeNodeImplementor<J> resolveAttributeNode(String attributeName)
resolvePathQualifierback to summary
private PathQualifierType resolvePathQualifier(String qualifier)
startAttributeback to summary
protected void startAttribute(Token attributeNameToken)

Overrides org.hibernate.graph.internal.parse.GeneratedGraphParser.startAttribute.

Annotations
@Override
startQualifiedAttributeback to summary
protected void startQualifiedAttribute(Token attributeNameToken, Token qualifierToken)

Overrides org.hibernate.graph.internal.parse.GeneratedGraphParser.startQualifiedAttribute.

Annotations
@Override
startSubGraphback to summary
protected void startSubGraph(Token subTypeToken)

Overrides org.hibernate.graph.internal.parse.GeneratedGraphParser.startSubGraph.

Annotations
@Override
traceInback to summary
public void traceIn(String s) throws TokenStreamException

Overrides antlr.LLkParser.traceIn.

Annotations
@Override
traceOutback to summary
public void traceOut(String s) throws TokenStreamException

Overrides antlr.LLkParser.traceOut.

Annotations
@Override