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
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWrapperHelper(Class<?> wt, Method[] sets, Method[] gets, Field[] f) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ObjectcreateWrapperObject(Class<?> typeClass) createWrapperObject(List<?> lst) protected ObjectgetPartObject(int index, Object object) booleanprotected Objectprotected abstract ObjectgetWrapperObject(Object object) voidsetValidate(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:
getSignaturein interfaceWrapperHelper
-
createWrapperObject
- Throws:
Exception
-
getWrapperObject
- Throws:
Exception
-
getPartObject
- Throws:
Exception
-
getValue
protected Object getValue(Method method, Object in) throws IllegalAccessException, InvocationTargetException -
createWrapperObject
- Specified by:
createWrapperObjectin interfaceWrapperHelper- Throws:
Fault
-
getWrapperParts
- Specified by:
getWrapperPartsin interfaceWrapperHelper- Throws:
Fault
-