public class Target extends Object
Constructor and Description |
---|
Target(String attributeName,
org.apache.axiom.om.OMElement element)
Creates a new Target from the OMElement
|
Modifier and Type | Method and Description |
---|---|
void |
insert(MessageContext synCtx,
Object object)
Inserts the given object into the target specified by the current Target object.
|
org.apache.axiom.om.OMElement |
serializeTarget(String attributeName,
org.apache.axiom.om.OMElement element)
Serialized this Target object into the given element with the given attribute name.
|
public Target(String attributeName, org.apache.axiom.om.OMElement element)
attributeName
- Name of the attribute where the property name/ XPath expression is
stored.element
- OMElement where the the XPath expression and the namespaces are stored.public void insert(MessageContext synCtx, Object object)
synCtx
- Message Context to be enriched with the object.object
- Object to be inserted.public org.apache.axiom.om.OMElement serializeTarget(String attributeName, org.apache.axiom.om.OMElement element)
attributeName
- Name of the attribute.element
- Element to serialize this target in to.Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.