1 57 58 package org.apache.soap.encoding.soapenc; 59 60 import java.io.*; 61 import org.w3c.dom.*; 62 import org.apache.soap.util.xml.*; 63 import org.apache.soap.*; 64 import org.apache.soap.util.*; 65 import org.apache.soap.rpc.*; 66 67 75 public class FloatObjectDeserializer implements Deserializer { 76 public Bean unmarshall(String inScopeEncStyle, QName elementType, 77 Node src, XMLJavaMappingRegistry xjmr, 78 SOAPContext ctx) 79 throws IllegalArgumentException { 80 Element root = (Element)src; 81 String value = DOMUtils.getChildCharacterData(root); 82 return new Bean(Float .class, FPDeserUtil.newFloat(value)); 83 } 84 } 85 | Popular Tags |