public class Target
extends java.lang.Object
Constructor and Description |
---|
Target(java.lang.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,
java.lang.Object object)
Inserts the given object into the target specified by the current Target object.
|
org.apache.axiom.om.OMElement |
serializeTarget(java.lang.String attributeName,
org.apache.axiom.om.OMElement element)
Serialized this Target object into the given element with the given attribute name.
|
public Target(java.lang.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, java.lang.Object object)
synCtx
- Message Context to be enriched with the object.object
- Object to be inserted.public org.apache.axiom.om.OMElement serializeTarget(java.lang.String attributeName, org.apache.axiom.om.OMElement element)
attributeName
- Name of the attribute.element
- Element to serialize this target in to.Copyright © 2005-2020 Apache Software Foundation. All Rights Reserved.