@Override protected String _writeText(Agent property, WriteContext context) { String url = property.getUrl(); if (url != null) { return url; } VCard vcard = property.getVCard(); if (vcard != null) { throw new EmbeddedVCardException(vcard); } //don't write an empty value because parsers could interpret that as there being an embedded vCard on the next line throw new SkipMeException(Messages.INSTANCE.getValidationWarning(8)); }