axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepth Dinesan <dine...@india.adventnet.com>
Subject Deserializers for Immutable classes
Date Wed, 18 Sep 2002 14:21:27 GMT
Hello ,

How do I write a deserializer for an Immutable Class .

the class is as  follows

Class  GloballyUniqueIdentifier {

    public String domainName;
    public HashMap keyValuePairs;
    public long firstSixtyFourBit;
    public long nextSixtyFourBits;

   public GloballyUniqueIdentifier(String s, HashMap hm,longl1,longl2){
         domainName=s;
         hm=keyValuePairs;
       firstSixtyFourBit=l1;
       nextSixtyFourBit=l2;

   }

  public (String s, long l1,long l2 ){
        domainName=s;
         firstSixtyFourBit=l1;
        nextSixtyFourBit=l2;
       //parse the domainName and populate the keyvalue pairs

  }

 //getters
  public String  getDomainName (){ ...} //and so on
   getKeyValuePairs(){...}
   getfirstSixtyFourBits() {....}
   getNextSixtyFourBits() {....}


}

ThanX
Deepth
--
"You have Brains in Your Head,You have feet in your Shoes"
"You can steer yourself any direction you choose"


Mime
View raw message