com.ibm.websphere.rpcadapter.serializers

Class ToXML

  • java.lang.Object
    • com.ibm.websphere.rpcadapter.serializers.ToXML


  • public class ToXML
    extends java.lang.Object
    Serializes a Java Bean as XML to an OutputStream.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String JREF_PREFIX 
      static java.lang.String XPATH 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static void serializeBean(java.lang.Object bean, java.util.Map convertorInfos, java.io.OutputStream out, boolean error, boolean isRecursionSupported) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • serializeBean

        public static void serializeBean(java.lang.Object bean,
                         java.util.Map convertorInfos,
                         java.io.OutputStream out,
                         boolean error,
                         boolean isRecursionSupported)
                                  throws java.lang.IllegalArgumentException,
                                         java.beans.IntrospectionException,
                                         java.lang.IllegalAccessException,
                                         java.lang.reflect.InvocationTargetException,
                                         javax.xml.parsers.ParserConfigurationException,
                                         javax.xml.parsers.FactoryConfigurationError,
                                         javax.xml.transform.TransformerFactoryConfigurationError,
                                         javax.xml.transform.TransformerException
        Throws:
        java.lang.IllegalArgumentException
        java.beans.IntrospectionException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
        javax.xml.parsers.ParserConfigurationException
        javax.xml.parsers.FactoryConfigurationError
        javax.xml.transform.TransformerFactoryConfigurationError
        javax.xml.transform.TransformerException