org.apache.synapse.mediators
Class MediatorProperty

java.lang.Object
  extended by org.apache.synapse.mediators.MediatorProperty

public class MediatorProperty
extends Object

A mediator property is a name-value or name-expression pair which could be supplied for certain mediators. If expressions are supplied they are evaluated at the runtime against the current message into literal String values.


Field Summary
static QName ATT_EXPR_Q
           
static QName ATT_NAME_Q
           
static QName ATT_SCOPE_Q
           
static QName ATT_VALUE_Q
           
static QName PROPERTY_Q
           
 
Constructor Summary
MediatorProperty()
           
 
Method Summary
 void evaluate(MessageContext synCtx)
           
 String getEvaluatedExpression(MessageContext synCtx)
           
 SynapseXPath getExpression()
           
 String getName()
           
 String getScope()
           
 String getValue()
           
 void setExpression(SynapseXPath expression)
           
 void setName(String name)
           
 void setScope(String scope)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_Q

public static final QName PROPERTY_Q

ATT_NAME_Q

public static final QName ATT_NAME_Q

ATT_VALUE_Q

public static final QName ATT_VALUE_Q

ATT_EXPR_Q

public static final QName ATT_EXPR_Q

ATT_SCOPE_Q

public static final QName ATT_SCOPE_Q
Constructor Detail

MediatorProperty

public MediatorProperty()
Method Detail

evaluate

public void evaluate(MessageContext synCtx)
Parameters:
synCtx -

getName

public String getName()

setName

public void setName(String name)

getScope

public String getScope()

setScope

public void setScope(String scope)

getValue

public String getValue()

setValue

public void setValue(String value)

getExpression

public SynapseXPath getExpression()

setExpression

public void setExpression(SynapseXPath expression)

getEvaluatedExpression

public String getEvaluatedExpression(MessageContext synCtx)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.