public Pair(AnnotationIntrospector p, AnnotationIntrospector s) { super(p, s); if (p instanceof XmlAnnotationIntrospector) { _xmlPrimary = (XmlAnnotationIntrospector) p; } else if (p instanceof JaxbAnnotationIntrospector) { _xmlPrimary = new JaxbWrapper((JaxbAnnotationIntrospector) p); } else { _xmlPrimary = null; } if (s instanceof XmlAnnotationIntrospector) { _xmlSecondary = (XmlAnnotationIntrospector) s; } else if (s instanceof JaxbAnnotationIntrospector) { _xmlSecondary = new JaxbWrapper((JaxbAnnotationIntrospector) s); } else { _xmlSecondary = null; } }
public Pair(AnnotationIntrospector p, AnnotationIntrospector s) { super(p, s); if (p instanceof XmlAnnotationIntrospector) { _xmlPrimary = (XmlAnnotationIntrospector) p; } else if (p instanceof JaxbAnnotationIntrospector) { _xmlPrimary = new JaxbWrapper((JaxbAnnotationIntrospector) p); } else { _xmlPrimary = null; } if (s instanceof XmlAnnotationIntrospector) { _xmlSecondary = (XmlAnnotationIntrospector) s; } else if (s instanceof JaxbAnnotationIntrospector) { _xmlSecondary = new JaxbWrapper((JaxbAnnotationIntrospector) s); } else { _xmlSecondary = null; } }