public class CommentSerializer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.axiom.om.OMFactory |
fac |
protected static org.apache.axiom.om.OMNamespace |
nullNS |
protected static org.apache.axiom.om.OMNamespace |
synNS |
Constructor and Description |
---|
CommentSerializer() |
Modifier and Type | Method and Description |
---|---|
static org.apache.axiom.om.OMComment |
serializeComment(org.apache.axiom.om.OMElement parent,
java.lang.String comment)
Serialze comment String into a OMComment node and add to the parent OMElement
|
protected static final org.apache.axiom.om.OMFactory fac
protected static final org.apache.axiom.om.OMNamespace synNS
protected static final org.apache.axiom.om.OMNamespace nullNS
public static org.apache.axiom.om.OMComment serializeComment(org.apache.axiom.om.OMElement parent, java.lang.String comment)
parent
- OMElement of parentcomment
- String comment to be serializedCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.