public class CommentMediator extends AbstractListMediator
mediators
ATT_EXPRN, ATT_KEY, ATT_NAME, ATT_ONERROR, ATT_REGEX, ATT_SEQUENCE, ATT_SOURCE, ATT_STATS, ATT_TARGET, ATT_VALUE, ATT_XPATH, fac, FEATURE_Q, nullNS, PROP_Q, synNS, TARGET_Q
Constructor and Description |
---|
CommentMediator() |
Modifier and Type | Method and Description |
---|---|
void |
build(org.apache.axiom.om.OMComment elem)
Build the mediator with given OMComment node
|
void |
build(org.apache.axiom.om.OMElement elem)
Build the mediator with given OMElement node
|
String |
getCommentText()
Returns the comment text value
|
String |
getTagLocalName()
Returns TagLocalName of the mediator
|
org.apache.axiom.om.OMElement |
serialize(org.apache.axiom.om.OMElement parent)
Serialize Mediator into the repective OMElement structire and add to the provided parent
|
void |
setCommentText(String commentText)
Set the comment text value
|
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
collectNameValuePairs, disableStatistics, enableStatistics, getMediatorProperties, getTraceState, isAuditConfigurable, isStatisticsEnable, processAuditStatus, saveTracingState, serializeMediatorProperties, serializeNamespaces, setAuditConfigurable, setTraceState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableStatistics, enableStatistics, getTraceState, isAuditConfigurable, isStatisticsEnable, setTraceState
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
parent
- if present the serialize node will be added to the parentpublic void build(org.apache.axiom.om.OMElement elem)
elem
- synapse mediator configurationpublic void build(org.apache.axiom.om.OMComment elem)
elem
- synapse mediator configurationpublic String getTagLocalName()
public String getCommentText()
public void setCommentText(String commentText)
commentText
- valueCopyright © 2018 WSO2. All rights reserved.