Package org.apache.commons.digester3
Class RecordedInvocation
- java.lang.Object
-
- org.apache.commons.digester3.RecordedInvocation
-
final class RecordedInvocation extends java.lang.ObjectDetached 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[]argumentsprivate java.lang.reflect.MethodinvokedMethod
-
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 voidconvert(java.lang.StringBuilder buffer, java.lang.Object input)Add a string representation ofinputtobuffer.java.lang.Object[]getArguments()Get the arguments.java.lang.reflect.MethodgetInvokedMethod()Get the invokedMethod.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
convert
protected void convert(java.lang.StringBuilder buffer, java.lang.Object input)Add a string representation ofinputtobuffer.- Parameters:
buffer- the buffer to append the string representation of the input object.input- the input object has to be serialized to string.
-
-