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; }
if ( serviceProvider.getServiceContact() != null ) { exportServiceContact( writer, serviceProvider.getServiceContact(), owsNS );
private void writeServiceProvider( XMLStreamWriter writer ) throws XMLStreamException { if ( provider != null ) { ResponsibleParty contact = provider.getServiceContact(); if ( contact != null ) { writer.writeStartElement( WMSNS, "ContactInformation" );
private void writeServiceProvider( XMLStreamWriter writer ) throws XMLStreamException { if ( provider != null ) { ResponsibleParty contact = provider.getServiceContact(); if ( contact != null ) { writer.writeStartElement( "ContactInformation" );