Class SynapseImportSerializer


  • public class SynapseImportSerializer
    extends Object
    This will serialize the SynapseImport to the xml configuration as specified bellow

     <import [xmlns="http://ws.apache.org/ns/synapse"] [name="string"] [package="string"]>
     
    • Field Detail

      • fac

        protected static final org.apache.axiom.om.OMFactory fac
      • synNS

        protected static final org.apache.axiom.om.OMNamespace synNS
      • nullNS

        protected static final org.apache.axiom.om.OMNamespace nullNS
    • Constructor Detail

      • SynapseImportSerializer

        public SynapseImportSerializer()
    • Method Detail

      • serializeImport

        public static org.apache.axiom.om.OMElement serializeImport​(SynapseImport s)
        This method will implements the serialization of SynapseImport object to its configuration
        Parameters:
        s - the type SynapseImport which is subjected to the serialization
        Returns:
        OMElement serialized in to xml from the given parameters
      • serializeImport

        public static org.apache.axiom.om.OMElement serializeImport​(org.apache.axiom.om.OMElement parent,
                                                                    SynapseImport synapseImport)