/* 154 */ while (itRelatesTo.hasNext())
/* */ {
/* 156 */ Element wsaRelatesTo = (Element)itRelatesTo.next();
/* 157 */ QName type = DOMUtils.getAttributeValueAsQName(wsaRelatesTo, ADDR.getRelationshipTypeName());
/* 158 */ String uri = DOMUtils.getTextContent(wsaRelatesTo);
/* 159 */ Relationship rel = builder.newRelationship(new URI(uri));
/* 160 */ rel.setType(type);
/* 161 */ relList.add(rel);
/* */ }
/* 163 */ Relationship[] relArr = (Relationship[])(Relationship[])Array.newInstance(Relationship.class, relList.size());
/* 164 */ relList.toArray(relArr);
/* 165 */ setRelatesTo(relArr);