def parse(self, value):
        if (value == None):
            return None
        instance = VCardCommunicationsTel()
        __VCardBasicAttributeSerDer__().parseInternal(value, instance)

        self.parseInternal(value, instance)
        return instance
Ejemplo n.º 2
0
	def parse(self, value):
		if(value == None):
			return None
		instance = VCardExplanatoryUrl()
		__VCardBasicAttributeSerDer__().parseInternal(value,instance)

		self.parseInternal(value, instance)
		return instance
	def parse(self, value):
		if(value == None):
			return None
		instance = VCardDeliveryAddressingAddress()
		__VCardBasicAttributeSerDer__().parseInternal(value,instance)

		self.parseInternal(value, instance)
		return instance
Ejemplo n.º 4
0
    def parse(self, value):
        if (value == None):
            return None
        instance = VCardIdentificationName()
        __VCardBasicAttributeSerDer__().parseInternal(value, instance)

        self.parseInternal(value, instance)
        return instance
Ejemplo n.º 5
0
    def encodeInternal(self, value, instance):
        __VCardBasicAttributeSerDer__().encodeInternal(value, instance)

        familyNamesValue = value.familyNames
        instance["familyNames"] = serder.STRING.encode(familyNamesValue)
        givenNamesValue = value.givenNames
        instance["givenNames"] = serder.STRING.encode(givenNamesValue)
        additionalNamesValue = value.additionalNames
        instance["additionalNames"] = serder.STRING.encode(
            additionalNamesValue)
        prefixesValue = value.prefixes
        instance["prefixes"] = serder.STRING.encode(prefixesValue)
        suffixesValue = value.suffixes
        instance["suffixes"] = serder.STRING.encode(suffixesValue)
        return instance
	def encodeInternal(self, value, instance):
		__VCardBasicAttributeSerDer__().encodeInternal(value,instance)

		postOfficeBoxValue = value.postOfficeBox
		instance["postOfficeBox"] = serder.STRING.encode(postOfficeBoxValue)
		extentedAddressValue = value.extentedAddress
		instance["extentedAddress"] = serder.STRING.encode(extentedAddressValue)
		streetAddressValue = value.streetAddress
		instance["streetAddress"] = serder.STRING.encode(streetAddressValue)
		localityValue = value.locality
		instance["locality"] = serder.STRING.encode(localityValue)
		regionValue = value.region
		instance["region"] = serder.STRING.encode(regionValue)
		postalCodeValue = value.postalCode
		instance["postalCode"] = serder.STRING.encode(postalCodeValue)
		countryNameValue = value.countryName
		instance["countryName"] = serder.STRING.encode(countryNameValue)
		return instance
Ejemplo n.º 7
0
	def encodeInternal(self, value, instance):
		__VCardBasicAttributeSerDer__().encodeInternal(value,instance)

		return instance
    def encodeInternal(self, value, instance):
        __VCardBasicAttributeSerDer__().encodeInternal(value, instance)

        extValue = value.ext
        instance["ext"] = serder.STRING.encode(extValue)
        return instance