private String getServiceUrl() { String url = getUrl; if ( provider != null && provider.getServiceContact() != null && provider.getServiceContact().getContactInfo() != null && provider.getServiceContact().getContactInfo().getOnlineResource() != null ) { url = provider.getServiceContact().getContactInfo().getOnlineResource().toExternalForm(); } return url; }
private String getServiceUrl() { String url = getUrl; if ( provider != null && provider.getServiceContact() != null && provider.getServiceContact().getContactInfo() != null && provider.getServiceContact().getContactInfo().getOnlineResource() != null ) { url = provider.getServiceContact().getContactInfo().getOnlineResource().toExternalForm(); } return url; }
final Address addr = contact.getContactInfo().getAddress(); if ( addr != null && addr.isPhysicalInfoAvailable() ) { writer.writeStartElement( WMSNS, "ContactAddress" ); contact.getContactInfo().getPhone().getVoice().get( 0 ) ); maybeWriteElementNS( writer, WMSNS, "ContactFacsimileTelephone", contact.getContactInfo().getPhone().getFacsimile().get( 0 ) ); if ( addr != null && !addr.getElectronicMailAddress().isEmpty() ) { maybeWriteElementNS( writer, WMSNS, "ContactElectronicMailAddress",
final Address addr = contact.getContactInfo().getAddress(); if ( addr != null && addr.isPhysicalInfoAvailable() ) { writer.writeStartElement( "ContactAddress" ); contact.getContactInfo().getPhone().getVoice().get( 0 ) ); maybeWriteElement( writer, "ContactFacsimileTelephone", contact.getContactInfo().getPhone().getFacsimile().get( 0 ) ); if ( addr != null && !addr.getElectronicMailAddress().isEmpty() ) { maybeWriteElement( writer, "ContactElectronicMailAddress", addr.getElectronicMailAddress().get( 0 ) );
throws XMLStreamException { ContactInfo serviceContact = party.getContactInfo(); if ( serviceContact != null ) { writer.writeStartElement( owsNS, "ContactInfo" );