Package org.apache.commons.digester3
Class RecordedInvocation
- java.lang.Object
-
- org.apache.commons.digester3.RecordedInvocation
-
final class RecordedInvocation extends java.lang.Object
Detached representation of a method invocation. From Commons [proxy] v2 branch.- Since:
- 3.2
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object[]
arguments
private java.lang.reflect.Method
invokedMethod
-
Constructor Summary
Constructors Constructor Description RecordedInvocation(java.lang.reflect.Method invokedMethod, java.lang.Object[] arguments)
Create a new RecordedInvocation instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
convert(java.lang.StringBuilder buffer, java.lang.Object input)
Add a string representation ofinput
tobuffer
.java.lang.Object[]
getArguments()
Get the arguments.java.lang.reflect.Method
getInvokedMethod()
Get the invokedMethod.java.lang.String
toString()
-
-
-
Method Detail
-
getInvokedMethod
public java.lang.reflect.Method getInvokedMethod()
Get the invokedMethod.- Returns:
- Method
-
getArguments
public java.lang.Object[] getArguments()
Get the arguments.- Returns:
- Object[]
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
convert
protected void convert(java.lang.StringBuilder buffer, java.lang.Object input)
Add a string representation ofinput
tobuffer
.- Parameters:
buffer
- the buffer to append the string representation of the input object.input
- the input object has to be serialized to string.
-
-