Package org.apache.cxf.databinding
Class AbstractWrapperHelper
- java.lang.Object
- 
- org.apache.cxf.databinding.AbstractWrapperHelper
 
- 
- All Implemented Interfaces:
- WrapperHelper
 
 public abstract class AbstractWrapperHelper extends Object implements WrapperHelper This wrapper helper will use reflection to handle the wrapped message
- 
- 
Field SummaryFields Modifier and Type Field Description protected Field[]fieldsprotected Method[]getMethodsstatic Class<?>[]NO_CLASSESstatic Object[]NO_PARAMSprotected Method[]setMethodsprotected booleanvalidateprotected Class<?>wrapperType
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractWrapperHelper(Class<?> wt, Method[] sets, Method[] gets, Field[] f)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ObjectcreateWrapperObject(Class<?> typeClass)ObjectcreateWrapperObject(List<?> lst)protected ObjectgetPartObject(int index, Object object)StringgetSignature()booleangetValidate()protected ObjectgetValue(Method method, Object in)protected abstract ObjectgetWrapperObject(Object object)List<Object>getWrapperParts(Object o)voidsetValidate(boolean v)WrapperClassOutInterceptor may call this if the wrapper class needs to be validated.
 
- 
- 
- 
Field Detail- 
NO_CLASSESpublic static final Class<?>[] NO_CLASSES 
 - 
NO_PARAMSpublic static final Object[] NO_PARAMS 
 - 
wrapperTypeprotected final Class<?> wrapperType 
 - 
setMethodsprotected final Method[] setMethods 
 - 
getMethodsprotected final Method[] getMethods 
 - 
fieldsprotected final Field[] fields 
 - 
validateprotected boolean validate 
 
- 
 - 
Method Detail- 
setValidatepublic 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.
 - 
getValidatepublic boolean getValidate() 
 - 
getSignaturepublic String getSignature() - Specified by:
- getSignaturein interface- WrapperHelper
 
 - 
createWrapperObjectprotected abstract Object createWrapperObject(Class<?> typeClass) throws Exception - Throws:
- Exception
 
 - 
getWrapperObjectprotected abstract Object getWrapperObject(Object object) throws Exception - Throws:
- Exception
 
 - 
getPartObjectprotected Object getPartObject(int index, Object object) throws Exception - Throws:
- Exception
 
 - 
getValueprotected Object getValue(Method method, Object in) throws IllegalAccessException, InvocationTargetException 
 - 
createWrapperObjectpublic Object createWrapperObject(List<?> lst) throws Fault - Specified by:
- createWrapperObjectin interface- WrapperHelper
- Throws:
- Fault
 
 - 
getWrapperPartspublic List<Object> getWrapperParts(Object o) throws Fault - Specified by:
- getWrapperPartsin interface- WrapperHelper
- Throws:
- Fault
 
 
- 
 
-