1 16 17 package org.apache.axis.encoding; 18 19 import org.xml.sax.SAXException ; 20 21 public class DeserializerTarget implements Target { 27 public Deserializer target; 28 public Object hint; 29 public DeserializerTarget(Deserializer target, Object hint) 30 { 31 this.target = target; 32 this.hint = hint; 33 } 34 35 public void set(Object value) throws SAXException { 36 if (hint != null) { 37 target.setChildValue(value, hint); 38 } else { 39 target.setValue(value); 40 } 41 } 42 } 43 | Popular Tags |