Package org.apache.synapse.config.xml
Class CommentSerializer
- java.lang.Object
-
- org.apache.synapse.config.xml.CommentSerializer
-
public class CommentSerializer extends Object
Serialize comment string to an OMComment node
-
-
Constructor Summary
Constructors Constructor Description CommentSerializer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.axiom.om.OMComment
serializeComment(org.apache.axiom.om.OMElement parent, String comment)
Serialze comment String into a OMComment node and add to the parent OMElement
-
-
-
Method Detail
-
serializeComment
public static org.apache.axiom.om.OMComment serializeComment(org.apache.axiom.om.OMElement parent, String comment)
Serialze comment String into a OMComment node and add to the parent OMElement- Parameters:
parent
- OMElement of parentcomment
- String comment to be serialized- Returns:
- Serialized OMComment node
-
-