*/
public Object getValue(Element element, ElementValue[] value,
Attributes attrs, Map hints) throws SAXException,
OperationNotSupportedException {
ResponsiblePartyImpl contactPerson = null;
for (int i = 0; i < value.length; i++) {
if (sameName(elems[0], value[i])) {
contactPerson = (ResponsiblePartyImpl) value[i].getValue();
}
}
if (contactPerson == null) {
contactPerson = new ResponsiblePartyImpl();
}
TelephoneImpl telephone = null;
AddressImpl address = null;
ContactImpl contact = new ContactImpl();
for (int i = 0; i < value.length; i++) {
contactPerson.setContactInfo(contact);
if (sameName(elems[1], value[i])) {
String positionName = (String) value[i].getValue();
contactPerson.setPositionName(new SimpleInternationalString(positionName));
}
if (sameName(elems[2], value[i])) {
address = (AddressImpl) value[i].getValue();
}