private OwsContact parseContact(ContactType contactInfo) { if (contactInfo == null) { return null; } OwsOnlineResource onlineResource = parseOnlineResource(contactInfo.getOnlineResource()); String hoursOfService = contactInfo.getHoursOfService(); String contactInstructions = contactInfo.getContactInstructions(); OwsAddress address = parseAddress(contactInfo.getAddress()); OwsPhone phone = parsePhone(contactInfo.getPhone()); return new OwsContact(phone, address, onlineResource, hoursOfService, contactInstructions); }
String contactInstructions = xb_contactType.getContactInstructions(); AddressType xb_address = xb_contactType.getAddress();