public final class VCard
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
VCard()
Default constructor.
|
VCard(java.util.List<Property> properties) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Property> |
getExtendedProperties(java.lang.String name)
Returns a list of non-standard properties for the VCard instance with a matching name.
|
Property |
getExtendedProperty(java.lang.String name)
Returns the first non-standard property found matching the specified name.
|
java.util.List<Property> |
getProperties()
Returns a reference to the list of properties for the VCard instance.
|
java.util.List<Property> |
getProperties(Property.Id id)
Returns a list of properties for the VCard instance with a matching identifier.
|
Property |
getProperty(Property.Id id)
Returns the first property found matching the specified identifier.
|
java.lang.String |
toString() |
void |
validate() |
public VCard()
public VCard(java.util.List<Property> properties)
properties
- a list of propertiespublic java.util.List<Property> getProperties()
public java.util.List<Property> getProperties(Property.Id id)
id
- a property identifierpublic Property getProperty(Property.Id id)
id
- a property identifierpublic java.util.List<Property> getExtendedProperties(java.lang.String name)
name
- a non-standard property namepublic Property getExtendedProperty(java.lang.String name)
name
- a non-standard property namepublic void validate() throws net.fortuna.ical4j.model.ValidationException
net.fortuna.ical4j.model.ValidationException
- where validation failspublic java.lang.String toString()
toString
in class java.lang.Object