private void addAttributeMappings(XSObjectList attributes, JavaXmlTypeMapping jxtm)
{
for (int i = 0; i < attributes.getLength(); i++)
{
XSAttributeUse obj = (XSAttributeUse)attributes.item(i);
XSAttributeDeclaration att = obj.getAttrDeclaration();
XSSimpleTypeDefinition simple = att.getTypeDefinition();
addJavaXMLTypeMap(simple, "none", "", "", jxtm.getJavaWsdlMapping(), true);
VariableMapping vm = new VariableMapping(jxtm);
String name = att.getName();
vm.setXmlAttributeName(name);