public class CommentSerializer extends 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,
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,
String comment)
parent - OMElement of parentcomment - String comment to be serializedCopyright © 2005–2019 Apache Software Foundation. All rights reserved.