* @throws InvalidPluginDescriptorException if the descriptor contains data that does not pass the usage
* specification
*/
public static PackageType parseContentDescriptor(ContentDescriptor descriptor)
throws InvalidPluginDescriptorException {
PackageCategory category = translateCategory(descriptor.getCategory());
PackageType type = new PackageType();
type.setName(descriptor.getName());
type.setDescription(descriptor.getDescription());
type.setCategory(category);