public Object getValue(Element element, ElementValue[] value, Attributes attrs, Map hints) throws SAXException, OperationNotSupportedException { ResponsiblePartyImpl responsibleParty = new ResponsiblePartyImpl(); for (int i = 0; i < value.length; i++) { if (sameName(elems[0], value[i])) { String name = (String) value[i].getValue(); responsibleParty.setIndividualName(name); } if (sameName(elems[1], value[i])) { String organization = (String) value[i].getValue(); responsibleParty.setOrganisationName( new SimpleInternationalString(organization)); } } return responsibleParty; }
public Object getValue(Element element, ElementValue[] value, Attributes attrs, Map hints) throws SAXException, OperationNotSupportedException { ResponsiblePartyImpl responsibleParty = new ResponsiblePartyImpl(); for (int i = 0; i < value.length; i++) { if (sameName(elems[0], value[i])) { String name = (String) value[i].getValue(); responsibleParty.setIndividualName(name); } if (sameName(elems[1], value[i])) { String organization = (String) value[i].getValue(); responsibleParty.setOrganisationName( new SimpleInternationalString(organization)); } } return responsibleParty; }
ret.setIndividualName((String)cppInfo.get("ContactPerson")); ret.setOrganisationName(new SimpleInternationalString((String)cppInfo.get("ContactOrganization"))); ret.setPositionName(new SimpleInternationalString((String)node.getChildValue("ContactPosition")));
public Object getValue(Element element, ElementValue[] value, Attributes attrs, Map hints) throws SAXException, OperationNotSupportedException { ResponsiblePartyImpl responsibleParty = new ResponsiblePartyImpl(); for (int i = 0; i < value.length; i++) { if (sameName(elems[0], value[i])) { String name = (String) value[i].getValue(); responsibleParty.setIndividualName(name); } if (sameName(elems[1], value[i])) { String organization = (String) value[i].getValue(); responsibleParty.setOrganisationName(new SimpleInternationalString(organization)); } } return responsibleParty; }