java.lang.Object
org.eclipse.lemminx.customservice.synapse.syntaxTree.serializer.SerializerUtils

public class SerializerUtils extends Object
  • Constructor Details

    • SerializerUtils

      public SerializerUtils()
  • Method Details

    • serializeExpression

      public static void serializeExpression(String expression, org.apache.axiom.om.OMElement element, String attributeName, STNode node)
      Serialize the expression to the OMElement
      Parameters:
      expression - the expression to be serialized
      element - the OMElement to which the serialization should be attached
      attributeName - the attribute name to which the expression should be attached
      node - the STNode which contains the expression and namespaces
    • serializeNamespaces

      public static void serializeNamespaces(STNode node, org.apache.axiom.om.OMElement element)
    • stringToOM

      public static org.apache.axiom.om.OMElement stringToOM(String text)
    • stringToCDATA

      public static org.apache.axiom.om.OMText stringToCDATA(String text)
    • serializeParameters

      public static void serializeParameters(Parameter[] parameter, org.apache.axiom.om.OMElement parameterElt)
    • serializeMediatorProperties

      public static void serializeMediatorProperties(org.apache.axiom.om.OMElement mediatorElt, MediatorProperty[] properties)