|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectezvcard.property.VCardProperty
ezvcard.property.SimpleProperty<String>
ezvcard.property.TextProperty
ezvcard.property.RawProperty
public class RawProperty
Holds the property value as-is. No escaping or unescaping is done on the value.
Field Summary |
---|
Fields inherited from class ezvcard.property.SimpleProperty |
---|
value |
Fields inherited from class ezvcard.property.VCardProperty |
---|
group, parameters |
Constructor Summary | |
---|---|
RawProperty(String propertyName,
String value)
Creates a raw property. |
|
RawProperty(String propertyName,
String value,
VCardDataType dataType)
Creates a raw property. |
Method Summary | |
---|---|
VCardDataType |
getDataType()
Gets the data type of the property's value. |
String |
getPropertyName()
Gets the name of the property. |
void |
setDataType(VCardDataType dataType)
Sets the data type of the property's value. |
void |
setPropertyName(String propertyName)
Sets the name of the property. |
Methods inherited from class ezvcard.property.SimpleProperty |
---|
_validate, getValue, setValue |
Methods inherited from class ezvcard.property.VCardProperty |
---|
_supportedVersions, addParameter, compareTo, getGroup, getParameter, getParameters, getParameters, getSupportedVersions, removeParameter, setGroup, setParameter, setParameters, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RawProperty(String propertyName, String value)
propertyName
- the property name (e.g. "X-GENDER")value
- the property valuepublic RawProperty(String propertyName, String value, VCardDataType dataType)
propertyName
- the property name (e.g. "X-GENDER")value
- the property valuedataType
- the value's data typeMethod Detail |
---|
public String getPropertyName()
public void setPropertyName(String propertyName)
propertyName
- the property namepublic VCardDataType getDataType()
public void setDataType(VCardDataType dataType)
dataType
- the data type or null if unknown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |