class AtomKeyValueParser {

    public Entry toEntry(Abdera abdera, String host, String port) {
        
        String id = MessageFormat.format(ENTRY_ID_FORMAT, host, port, this.getCollectionName(), this.getId());
        String link = MessageFormat.format(LINK_FORMAT, host, port, this.getUuid());
        String title = MessageFormat.format(TITLE_FORMAT, this.getColumnVisibility(), this.getCollectionName(), this.getValue(), this.getUpdated());
        
        Entry entry = abdera.newEntry();
        IRI atomId = new IRI(id);
        entry.setId(atomId.toString());
        entry.addLink(link, "alternate");
        entry.setTitle(title);
        entry.setUpdated(this.getUpdated());
        return entry;
    }

}