Top Description Fields Constructors Methods
org.springframework.beans.factory.parsing

public Class ConstructorArgumentEntry

extends Object
implements Entry
Class Inheritance
All Implemented Interfaces
org.springframework.beans.factory.parsing.ParseState.Entry
Imports
org.springframework.util.Assert

ParseState entry representing a (possibly indexed) constructor argument.
Authors
Rob Harrop, Juergen Hoeller
Since
2.0

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
ConstructorArgumentEntry()

Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument with a (currently) unknown index.

public
ConstructorArgumentEntry(int
the index of the constructor argument
index
)

Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument at the supplied index.

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

indexback to summary
private final int index

Constructor Detail

ConstructorArgumentEntryback to summary
public ConstructorArgumentEntry()

Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument with a (currently) unknown index.

ConstructorArgumentEntryback to summary
public ConstructorArgumentEntry(int index)

Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument at the supplied index.

Parameters
index:int

the index of the constructor argument

Exceptions
IllegalArgumentException:
if the supplied index is less than zero

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override