1 55 56 package org.jboss.axis.encoding; 57 58 import org.xml.sax.SAXException ; 59 60 66 public class DeserializerTarget implements Target 67 { 68 public Deserializer target; 69 public Object hint; 70 71 public DeserializerTarget(Deserializer target, Object hint) 72 { 73 this.target = target; 74 this.hint = hint; 75 } 76 77 public void set(Object value) throws SAXException  78 { 79 if (hint != null) 80 { 81 target.setChildValue(value, hint); 82 } 83 else 84 { 85 target.setValue(value); 86 } 87 } 88 } 89 | Popular Tags |