Package groovy.util
Class ObjectGraphBuilder.DefaultReferenceResolver
java.lang.Object
groovy.util.ObjectGraphBuilder.DefaultReferenceResolver
- All Implemented Interfaces:
ObjectGraphBuilder.ReferenceResolver
- Enclosing class:
- ObjectGraphBuilder
public static class ObjectGraphBuilder.DefaultReferenceResolver
extends Object
implements ObjectGraphBuilder.ReferenceResolver
Default impl, always returns 'refId'
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetReferenceFor
(String nodeName) Returns the name of the property that references another node.
-
Constructor Details
-
DefaultReferenceResolver
public DefaultReferenceResolver()
-
-
Method Details
-
getReferenceFor
Description copied from interface:ObjectGraphBuilder.ReferenceResolver
Returns the name of the property that references another node.- Specified by:
getReferenceFor
in interfaceObjectGraphBuilder.ReferenceResolver
- Parameters:
nodeName
- the name of the node
-