Package org.apache.cxf.databinding
Class AbstractWrapperHelper
java.lang.Object
org.apache.cxf.databinding.AbstractWrapperHelper
- All Implemented Interfaces:
WrapperHelper
This wrapper helper will use reflection to handle the wrapped message
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractWrapperHelper
(Class<?> wt, Method[] sets, Method[] gets, Field[] f) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Object
createWrapperObject
(Class<?> typeClass) createWrapperObject
(List<?> lst) protected Object
getPartObject
(int index, Object object) boolean
protected Object
protected abstract Object
getWrapperObject
(Object object) void
setValidate
(boolean v) WrapperClassOutInterceptor may call this if the wrapper class needs to be validated.
-
Field Details
-
NO_CLASSES
-
NO_PARAMS
-
wrapperType
-
setMethods
-
getMethods
-
fields
-
validate
protected boolean validate
-
-
Constructor Details
-
AbstractWrapperHelper
-
-
Method Details
-
setValidate
public void setValidate(boolean v) WrapperClassOutInterceptor may call this if the wrapper class needs to be validated. Implementations may choose to ignore this as the SchemaValidation that occurs later may catch the errors, but this allows quicker failures if the databinding can support it. -
getValidate
public boolean getValidate() -
getSignature
- Specified by:
getSignature
in interfaceWrapperHelper
-
createWrapperObject
- Throws:
Exception
-
getWrapperObject
- Throws:
Exception
-
getPartObject
- Throws:
Exception
-
getValue
protected Object getValue(Method method, Object in) throws IllegalAccessException, InvocationTargetException -
createWrapperObject
- Specified by:
createWrapperObject
in interfaceWrapperHelper
- Throws:
Fault
-
getWrapperParts
- Specified by:
getWrapperParts
in interfaceWrapperHelper
- Throws:
Fault
-