public Category addCategory(String term) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); return category; }
public Category addCategory(String term) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); return category; }
public Category addCategory(String term) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); return category; }
public Category addCategory(String scheme, String term, String label) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); category.setScheme(scheme); category.setLabel(label); return category; }
public Category addCategory(String scheme, String term, String label) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); category.setScheme(scheme); category.setLabel(label); return category; }
public Category addCategory(String scheme, String term, String label) { complete(); FOMFactory factory = (FOMFactory)this.factory; Category category = factory.newCategory(this); category.setTerm(term); category.setScheme(scheme); category.setLabel(label); return category; }
public Category asCategoryElement(RequestContext request) { Category cat = request.getAbdera().getFactory().newCategory(); cat.setTerm(term); if (scheme != null) cat.setScheme(scheme); if (label != null) cat.setLabel(label); return cat; } }