/** * Create an instance of {@link DatasetMetadataType.Attribution } * */ public DatasetMetadataType.Attribution createDatasetMetadataTypeAttribution() { return new DatasetMetadataType.Attribution(); }
private Attribution fromJaxb( final org.deegree.services.jaxb.metadata.DatasetMetadataType.Attribution jaxbEl ) { if ( jaxbEl == null ) { return null; } LogoUrl logoUrl = null; if ( jaxbEl.getLogoURL() != null ) { LogoURL jaxbLogoUrl = jaxbEl.getLogoURL(); logoUrl = new LogoUrl( jaxbLogoUrl.getValue(), jaxbLogoUrl.getFormat(), jaxbLogoUrl.getWidth(), jaxbLogoUrl.getHeight() ); } return new Attribution( jaxbEl.getTitle(), jaxbEl.getURL(), logoUrl ); }