Class Agent
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.vcard.GroupProperty
-
- net.fortuna.ical4j.vcard.property.Agent
-
- All Implemented Interfaces:
Serializable
,Comparable<Property>
,Encodable
,FluentProperty
@Deprecated public class Agent extends GroupProperty implements Encodable
Deprecated.the AGENT property was removed in vCard v4.0.AGENT property.$Id$
Created on 21/09/2008
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Agent.Factory
Deprecated.
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.vcard.GroupProperty
ILLEGAL_PARAMETER_MESSAGE
-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getText()
Deprecated.URI
getUri()
Deprecated.String
getValue()
Deprecated.protected PropertyFactory<Agent>
newFactory()
Deprecated.void
setValue(String aValue)
Deprecated.ValidationResult
validate()
Deprecated.-
Methods inherited from class net.fortuna.ical4j.vcard.GroupProperty
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getGroup, getId, getParameter, hashCode, toString
-
Methods inherited from class net.fortuna.ical4j.model.Property
add, compareTo, copy, getFluentTarget, getName, getParameter, getParameterList, getParameters, getRequiredParameter, remove, removeAll, replace, setParameters
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
-
-
-
Constructor Detail
-
Agent
public Agent(URI uri)
Deprecated.- Parameters:
uri
- agent URI value
-
Agent
public Agent(String text)
Deprecated.- Parameters:
text
- agent text value
-
Agent
public Agent(ParameterList params, String value)
Deprecated.Factory constructor.- Parameters:
params
- property parametersvalue
- string representation of an agent value- Throws:
URISyntaxException
- if the string value is an invalid URI
-
-
Method Detail
-
getUri
public URI getUri()
Deprecated.- Returns:
- the uri
-
getText
public String getText()
Deprecated.- Returns:
- the text
-
setValue
public void setValue(String aValue) throws IOException, URISyntaxException
Deprecated.- Specified by:
setValue
in classProperty
- Throws:
IOException
URISyntaxException
-
validate
public ValidationResult validate() throws ValidationException
Deprecated.- Specified by:
validate
in classProperty
- Throws:
ValidationException
-
newFactory
protected PropertyFactory<Agent> newFactory()
Deprecated.- Specified by:
newFactory
in classProperty
-
-