ezvcard.types
Class ProdIdType

java.lang.Object
  extended by ezvcard.types.VCardType
      extended by ezvcard.types.TextType
          extended by ezvcard.types.ProdIdType
All Implemented Interfaces:
Comparable<VCardType>

public class ProdIdType
extends TextType

Defines the product that created the vCard.

 VCard vcard = new VCard();
 ProdIdType prodid = new ProdIdType("ez-vcard 0.6.0");
 vcard.setProdId(prodid);
 

vCard property name: PRODID

vCard versions: 3.0, 4.0

Author:
Michael Angstadt

Field Summary
static String NAME
           
 
Fields inherited from class ezvcard.types.TextType
value
 
Fields inherited from class ezvcard.types.VCardType
group, subTypes, typeName
 
Constructor Summary
ProdIdType()
           
ProdIdType(String prodId)
           
 
Method Summary
 VCardVersion[] getSupportedVersions()
          Gets the vCard versions that support this type.
 
Methods inherited from class ezvcard.types.TextType
doMarshalText, doMarshalXml, doUnmarshalHtml, doUnmarshalText, doUnmarshalXml, getValue, setValue
 
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
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

ProdIdType

public ProdIdType()

ProdIdType

public ProdIdType(String prodId)
Parameters:
prodId - the prod ID
Method Detail

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.