public class XmlElementDeclSelector extends Object
XmlElementRefannotation on a field (of the mapping result type or its super types) matching the target property name. Then selects those methods with matching
scopeattributes of the
XmlElementDeclannotation, if that is present. Matching happens in the following order:
XmlElementDeclit will be considered as matching.
|Constructor and Description|
|Modifier and Type||Method and Description|
Selects those methods which match the given types and other criteria
public <T extends Method> List<SelectedMethod<T>> getMatchingMethods(Method mappingMethod, List<SelectedMethod<T>> methods, List<Type> sourceTypes, Type targetType, SelectionCriteria criteria)
T- either SourceMethod or BuiltInMethod
mappingMethod- mapping method, defined in Mapper for which this selection is carried out
methods- list of available methods
sourceTypes- parameter type(s) that should be matched
targetType- result type that should be matched
criteria- criteria used in the selection process
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.