Package org.apache.synapse.config.xml
Class XMLToTemplateMapper
- java.lang.Object
-
- org.apache.synapse.config.xml.XMLToTemplateMapper
-
- All Implemented Interfaces:
XMLToObjectMapper
public class XMLToTemplateMapper extends Object implements XMLToObjectMapper
-
-
Constructor Summary
Constructors Constructor Description XMLToTemplateMapper()
XMLToTemplateMapper(SynapseConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
Create an application object from the given OMNodeSynapseConfiguration
getSynapseConfiguration()
Getter method to obtain Synapse configurationvoid
setSynapseConfiguration(SynapseConfiguration configuration)
Sets synapse configurations associated with the Object
-
-
-
Constructor Detail
-
XMLToTemplateMapper
public XMLToTemplateMapper()
-
XMLToTemplateMapper
public XMLToTemplateMapper(SynapseConfiguration config)
-
-
Method Detail
-
getObjectFromOMNode
public Object getObjectFromOMNode(org.apache.axiom.om.OMNode om, Properties properties)
Description copied from interface:XMLToObjectMapper
Create an application object from the given OMNode- Specified by:
getObjectFromOMNode
in interfaceXMLToObjectMapper
- Parameters:
om
- the XMLproperties
- bag of properties to pass in any information to the factory- Returns:
- a suitable application object
-
getSynapseConfiguration
public SynapseConfiguration getSynapseConfiguration()
Getter method to obtain Synapse configuration- Returns:
- Synapse configurations associated with the Object
-
setSynapseConfiguration
public void setSynapseConfiguration(SynapseConfiguration configuration)
Sets synapse configurations associated with the Object- Parameters:
configuration
- Synapse Configuration
-
-