Class SerializerUtils
java.lang.Object
org.eclipse.lemminx.customservice.synapse.syntaxTree.serializer.SerializerUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidserializeExpression(String expression, org.apache.axiom.om.OMElement element, String attributeName, STNode node) Serialize the expression to the OMElementstatic voidserializeMediatorProperties(org.apache.axiom.om.OMElement mediatorElt, MediatorProperty[] properties) static voidserializeNamespaces(STNode node, org.apache.axiom.om.OMElement element) static voidserializeParameters(Parameter[] parameter, org.apache.axiom.om.OMElement parameterElt) static org.apache.axiom.om.OMTextstringToCDATA(String text) static org.apache.axiom.om.OMElementstringToOM(String text)
-
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 serializedelement- the OMElement to which the serialization should be attachedattributeName- the attribute name to which the expression should be attachednode- the STNode which contains the expression and namespaces
-
serializeNamespaces
-
stringToOM
-
stringToCDATA
-
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)
-