ezvcard.types
Class SingleValuedTypeParameterType<T extends TypeParameter>
java.lang.Object
ezvcard.types.VCardType
ezvcard.types.TypeParameterType<T>
ezvcard.types.SingleValuedTypeParameterType<T>
- All Implemented Interfaces:
- Comparable<VCardType>
public abstract class SingleValuedTypeParameterType<T extends TypeParameter>
- extends TypeParameterType<T>
Represents a vCard Type that has a TYPE parameter that contains only one
value. For example, the PHOTO type. This class contrasts with the
MultiValuedTypeParameterType
class.
- Author:
- Michael Angstadt
Method Summary |
T |
getType()
Gets the value of the TYPE parameter. |
void |
setType(T type)
Sets the value of the TYPE parameter. |
Methods inherited from class ezvcard.types.VCardType |
compareTo, doMarshalSubTypes, doMarshalText, doMarshalXml, doUnmarshalHtml, doUnmarshalText, doUnmarshalXml, getGroup, getQName, getSubTypes, getSupportedVersions, 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 |
SingleValuedTypeParameterType
public SingleValuedTypeParameterType(String name)
getType
public T getType()
- Gets the value of the TYPE parameter.
- Returns:
- the TYPE value or null if it has no TYPE value
setType
public void setType(T type)
- Sets the value of the TYPE parameter.
- Parameters:
type
- the TYPE value to set
Copyright © 2012-2013. All Rights Reserved.