ezvcard.types
Class ProfileType
java.lang.Object
ezvcard.types.VCardType
ezvcard.types.TextType
ezvcard.types.ProfileType
- All Implemented Interfaces:
- Comparable<VCardType>
public class ProfileType
- extends TextType
This just says that the vCard is a vCard, it's not really necessary.
VCard vcard = new VCard();
ProfileType profile = new ProfileType();
vcard.setProfile(profile);
vCard property name: PROFILE
vCard versions: 3.0
- Author:
- Michael Angstadt
Methods inherited from class ezvcard.types.VCardType |
compareTo, doMarshalSubTypes, getGroup, getQName, getSubTypes, getTypeName, marshalSubTypes, marshalText, marshalXml, setGroup, unmarshalHtml, unmarshalText, unmarshalXml |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- See Also:
- Constant Field Values
ProfileType
public ProfileType()
doMarshalText
protected void doMarshalText(StringBuilder sb,
VCardVersion version,
List<String> warnings,
CompatibilityMode compatibilityMode)
- Description copied from class:
VCardType
- Converts this type object to a string for sending over the wire. It is
NOT responsible for folding.
- Overrides:
doMarshalText
in class TextType
- Parameters:
sb
- the buffer to add the marshalled value toversion
- the version vCard that is being generatedwarnings
- allows the programmer to alert the user to any
note-worthy (but non-critical) issues that occurred during the
marshalling processcompatibilityMode
- allows the programmer to customize the
marshalling process depending on the expected consumer of the vCard
doUnmarshalText
protected void doUnmarshalText(String value,
VCardVersion version,
List<String> warnings,
CompatibilityMode compatibilityMode)
- Description copied from class:
VCardType
- Unmarshals the type value from off the wire.
- Overrides:
doUnmarshalText
in class TextType
- Parameters:
value
- the unfolded value from off the wire. If the wire value is
in the "quoted-printable" encoding, it will be decoded.version
- the version of the vCard that is being read or null if the
VERSION type has not been parsed yet (v3.0 and v4.0 require that the
VERSION type be at the top of the vCard, but v2.1 has no such
requirement)warnings
- allows the programmer to alert the user to any
note-worthy (but non-critical) issues that occurred during the
unmarshalling processcompatibilityMode
- allows you to customize the unmarshalling
process depending on where the vCard came from
getSupportedVersions
public VCardVersion[] getSupportedVersions()
- Description copied from class:
VCardType
- Gets the vCard versions that support this type.
- Overrides:
getSupportedVersions
in class VCardType
- Returns:
- the vCard versions that support this type.
Copyright © 2012-2013. All Rights Reserved.