Class SequenceMediator
- java.lang.Object
-
- org.wso2.carbon.mediator.service.ui.AbstractMediator
-
- org.wso2.carbon.mediator.service.ui.AbstractListMediator
-
- org.wso2.carbon.mediator.service.builtin.SequenceMediator
-
- All Implemented Interfaces:
ListMediator
,Mediator
public class SequenceMediator extends AbstractListMediator
This class represents a sequence mediator.
-
-
Field Summary
-
Fields inherited from class org.wso2.carbon.mediator.service.ui.AbstractListMediator
mediators
-
Fields inherited from class org.wso2.carbon.mediator.service.ui.AbstractMediator
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 Summary
Constructors Constructor Description SequenceMediator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(org.apache.axiom.om.OMElement elem)
Populate this mediator from the Synapse mediator configuration.String
getDescription()
String
getErrorHandler()
org.apache.synapse.mediators.Value
getKey()
String
getName()
String
getTagLocalName()
Get the name of the mediatorboolean
isAnonymous()
org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent)
Serialize this mediator in to the corresponding Synapse mediator configuration.void
setAnonymous(boolean anonymous)
void
setDescription(String description)
void
setErrorHandler(String errorHandler)
void
setKey(org.apache.synapse.mediators.Value key)
void
setName(String name)
-
Methods inherited from class org.wso2.carbon.mediator.service.ui.AbstractListMediator
addChild, addChildren, getChild, getList, removeChild, removeChild, serializeChildren
-
Methods inherited from class org.wso2.carbon.mediator.service.ui.AbstractMediator
collectNameValuePairs, disableStatistics, enableStatistics, getMediatorProperties, getMediatorProperties, getTraceState, isAuditConfigurable, isStatisticsEnable, processAuditStatus, saveTracingState, serializeMediatorProperties, serializeNamespaces, setAuditConfigurable, setTraceState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wso2.carbon.mediator.service.ui.Mediator
disableStatistics, enableStatistics, getTraceState, isAuditConfigurable, isStatisticsEnable, setTraceState
-
-
-
-
Method Detail
-
getName
public String getName()
-
getErrorHandler
public String getErrorHandler()
-
setName
public void setName(String name)
-
setErrorHandler
public void setErrorHandler(String errorHandler)
-
getKey
public org.apache.synapse.mediators.Value getKey()
-
setKey
public void setKey(org.apache.synapse.mediators.Value key)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getTagLocalName
public String getTagLocalName()
Description copied from interface:Mediator
Get the name of the mediator- Returns:
- name of the mediator
-
setAnonymous
public void setAnonymous(boolean anonymous)
-
isAnonymous
public boolean isAnonymous()
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
Description copied from interface:Mediator
Serialize this mediator in to the corresponding Synapse mediator configuration.- Parameters:
parent
- if present the serialize node will be added to the parent- Returns:
- the Synapse mediator configuration XML
-
build
public void build(org.apache.axiom.om.OMElement elem)
Description copied from interface:Mediator
Populate this mediator from the Synapse mediator configuration.- Parameters:
elem
- synapse mediator configuration
-
-