FileDocCategorySizeDatePackage
SourceDataHandlerDeserializer.javaAPI DocApache Axis 1.41972Sat Apr 22 18:57:28 BST 2006org.apache.axis.encoding.ser

SourceDataHandlerDeserializer

public class SourceDataHandlerDeserializer extends JAFDataHandlerDeserializer
SourceDataHandler Deserializer Modified by Russell Butek

Fields Summary
protected static Log
log
Constructors Summary
Methods Summary
public voidstartElement(java.lang.String namespace, java.lang.String localName, java.lang.String prefix, org.xml.sax.Attributes attributes, org.apache.axis.encoding.DeserializationContext context)


         
                                
                              
          

        super.startElement(namespace, localName, prefix, attributes, context);

        if (getValue() instanceof DataHandler) {
            try {
                DataHandler dh = (DataHandler) getValue();
                StreamSource ss = new StreamSource(dh.getInputStream());
                setValue(ss);
            }
            catch (IOException ioe) {
            }
        }