@Override public Boolean isOutputAsAttribute(Annotated ann) { Boolean value = (_xmlPrimary == null) ? null : _xmlPrimary.isOutputAsAttribute(ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.isOutputAsAttribute(ann); } return value; }
@Override public Boolean isOutputAsAttribute(Annotated ann) { Boolean value = (_xmlPrimary == null) ? null : _xmlPrimary.isOutputAsAttribute(ann); if ((value == null) && (_xmlSecondary != null)) { value = _xmlSecondary.isOutputAsAttribute(ann); } return value; }
public static Boolean findIsAttributeAnnotation(AnnotationIntrospector ai, AnnotatedMember prop) { for (AnnotationIntrospector intr : ai.allIntrospectors()) { if (intr instanceof XmlAnnotationIntrospector) { Boolean b = ((XmlAnnotationIntrospector) intr).isOutputAsAttribute(prop); if (b != null) { return b; } } else if (intr instanceof JaxbAnnotationIntrospector) { Boolean b = ((JaxbAnnotationIntrospector) intr).isOutputAsAttribute(prop); if (b != null) { return b; } } } return null; }
public static Boolean findIsAttributeAnnotation(AnnotationIntrospector ai, AnnotatedMember prop) { for (AnnotationIntrospector intr : ai.allIntrospectors()) { if (intr instanceof XmlAnnotationIntrospector) { Boolean b = ((XmlAnnotationIntrospector) intr).isOutputAsAttribute(prop); if (b != null) { return b; } } else if (intr instanceof JaxbAnnotationIntrospector) { Boolean b = ((JaxbAnnotationIntrospector) intr).isOutputAsAttribute(prop); if (b != null) { return b; } } } return null; }