org.wso2.carbon.event.builder.admin.internal.util.dto.converter
Class XmlDtoConverter

java.lang.Object
  extended by org.wso2.carbon.event.builder.admin.internal.util.DtoConverter
      extended by org.wso2.carbon.event.builder.admin.internal.util.dto.converter.XmlDtoConverter

public class XmlDtoConverter
extends DtoConverter


Constructor Summary
XmlDtoConverter()
           
 
Method Summary
 EventBuilderConfigurationDto fromEventBuilderConfiguration(org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration eventBuilderConfiguration)
          Returns an EventBuilderConfigurationDto for the passed in EventBuilderConfiguration
 org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration toEventBuilderConfiguration(String eventBuilderName, String streamNameWithVersion, String eventAdaptorName, String eventAdaptorType, EventInputPropertyConfigurationDto[] xpathExpressions, PropertyDto[] inputPropertyConfiguration, PropertyDto[] xpathDefinitions, String parentSelectorXpath, boolean mappingEnabled)
           
 
Methods inherited from class org.wso2.carbon.event.builder.admin.internal.util.DtoConverter
getEventBuilderConfigurationInfoDto, getEventBuilderMessageProperties, getEventBuilderPropertiesFrom, setCommonPropertiesToEventBuilderConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDtoConverter

public XmlDtoConverter()
Method Detail

toEventBuilderConfiguration

public org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration toEventBuilderConfiguration(String eventBuilderName,
                                                                                                       String streamNameWithVersion,
                                                                                                       String eventAdaptorName,
                                                                                                       String eventAdaptorType,
                                                                                                       EventInputPropertyConfigurationDto[] xpathExpressions,
                                                                                                       PropertyDto[] inputPropertyConfiguration,
                                                                                                       PropertyDto[] xpathDefinitions,
                                                                                                       String parentSelectorXpath,
                                                                                                       boolean mappingEnabled)
                                                                                                throws EventBuilderAdminServiceException
Throws:
EventBuilderAdminServiceException

fromEventBuilderConfiguration

public EventBuilderConfigurationDto fromEventBuilderConfiguration(org.wso2.carbon.event.builder.core.config.EventBuilderConfiguration eventBuilderConfiguration)
Description copied from class: DtoConverter
Returns an EventBuilderConfigurationDto for the passed in EventBuilderConfiguration

Specified by:
fromEventBuilderConfiguration in class DtoConverter
Parameters:
eventBuilderConfiguration - the event builder configuration that needs to be converted to a DTO
Returns:
an EventBuilderConfigurationDto instance that matches the passed in EventBuilderConfiguration


Copyright © 2015 WSO2. All rights reserved.