public JSMediaType(MediaType c) { this.id = c.getMediatypeId(); this.name = c.getName(); this.characterSet = c.getCharacterSet(); this.title = c.getTitle(); this.description = c.getDescription(); capabilities = new ArrayList(); mimeTypes = new ArrayList(); }
|| (mediaType.getMediatypeId() == 0))