superwaba.ext.xplat.io.pimal.addressbook
Class AddressNSHNote

java.lang.Object
  |
  +--superwaba.ext.xplat.io.pimal.NotSupportedHandlerNote
        |
        +--superwaba.ext.xplat.io.pimal.addressbook.AddressNSHNote

public class AddressNSHNote
extends NotSupportedHandlerNote
implements AddressNotSupportedHandler

Implement the NSH handler for Address.


Constructor Summary
AddressNSHNote()
           
 
Method Summary
 Vector complete(AddressRecord ar, Vector alreadyFound)
          When you already read out the supported fields of a AddressRecord into a Vector, use this method to complete this Vector with the not supported fields from the note field.
 void write(Vector notSupported, AddressRecord ar)
          This method is for writing not supported fields into the note of the AddressRecord that is handed over.
 
Methods inherited from class superwaba.ext.xplat.io.pimal.NotSupportedHandlerNote
divideFieldIntoKeyOptionsValues, divideNoteIntoNoteAndFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressNSHNote

public AddressNSHNote()
Method Detail

write

public void write(Vector notSupported,
                  AddressRecord ar)
This method is for writing not supported fields into the note of the AddressRecord that is handed over.
Specified by:
write in interface AddressNotSupportedHandler
Parameters:
notSupported - With this Vector, you hand over the fields that are not supprted by the application.
ar - This AddressRecord is the one your not supported fields belong to. The not supported fields will be added note field of this AddressRecord.

complete

public Vector complete(AddressRecord ar,
                       Vector alreadyFound)
When you already read out the supported fields of a AddressRecord into a Vector, use this method to complete this Vector with the not supported fields from the note field.
Specified by:
complete in interface AddressNotSupportedHandler
Parameters:
ar - The AddressRecord you want to extract the not supported fields of note from.
alreadyFound - Vector of fields of this AddressRecord that are already found in the supported fields
Returns:
a Vector of all fields, supported and not supported of this AddressRecord.