Spring Framework

org.springframework.beans.factory.parsing
Class ConstructorArgumentEntry

java.lang.Object
  extended by org.springframework.beans.factory.parsing.ConstructorArgumentEntry
All Implemented Interfaces:
ParseState.Entry

public class ConstructorArgumentEntry
extends java.lang.Object
implements ParseState.Entry

ParseState entry representing a (possibly indexed) constructor argument.

Since:
2.0
Author:
Rob Harrop, Juergen Hoeller

Constructor Summary
ConstructorArgumentEntry()
          Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument with a (currently) unknown index.
ConstructorArgumentEntry(int index)
          Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument at the supplied index.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstructorArgumentEntry

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


ConstructorArgumentEntry

public ConstructorArgumentEntry(int index)
Creates a new instance of the ConstructorArgumentEntry class representing a constructor argument at the supplied index.

Parameters:
index - the index of the constructor argument
Throws:
java.lang.IllegalArgumentException - if the supplied index is less than zero
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring Framework