static String getFullJavaType ( XsdAttribute attribute ) { List < XsdRestriction > restrictions = getAttributeRestrictions ( attribute ) ; String javaType = xsdFullTypesToJava . getOrDefault ( attribute . getType ( ) , null ) ; if ( javaType == null ) { if ( ! restrictions . isEmpty ( ) ) { return xsdFullTypesToJava . getOrDefault ( restrictions . get ( 0 ) . getBase ( ) , JAVA_OBJECT_DESC ) ; } return JAVA_OBJECT_DESC ; } return javaType ; }
Obtains the java type descriptor based on the attribute type attribute .