Class XmlElementDeclSelector

  • public class XmlElementDeclSelector
    extends Object
    Finds the XmlElementRef annotation on a field (of the mapping result type or its super types) matching the target property name. Then selects those methods with matching name and scope attributes of the XmlElementDecl annotation, if that is present. Matching happens in the following order:
    1. Name and Scope matches
    2. Scope matches
    3. Name matches
    If there are name and scope matches, only those will be returned, otherwise the next in line (scope matches), etc. If the given method is not annotated with XmlElementDecl it will be considered as matching.
    Sjaak Derksen