ezvcard.types
Class SourceDisplayTextType

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

public class SourceDisplayTextType
extends TextType

Provides a textual representation of SourceType.

 VCard vcard = new VCard();
 SourceDisplayTextType name = new SourceDisplayTextType("My vCard");
 vcard.setSourceDisplayText(name);
 

vCard property name: NAME

vCard versions: 3.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
SourceDisplayTextType()
           
SourceDisplayTextType(String displayText)
           
 
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

SourceDisplayTextType

public SourceDisplayTextType()

SourceDisplayTextType

public SourceDisplayTextType(String displayText)
Parameters:
displayText - the display text
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.