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 import org.apache.soap.encoding.Hex; 67 68 75 public class HexDeserializer 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 83 return new Bean(Hex.class, new Hex(value)); 84 } 85 } 86 | Popular Tags |