return new EndpointDefinitionParser().parse(element, context);
} else if ("server".equals(s)) {
return new ServerFactoryBeanDefinitionParser(JaxWsServerFactoryBean.class)
.parse(element, context);
} else if ("client".equals(s)) {
return new ClientProxyFactoryBeanDefinitionParser(JaxWsProxyFactoryBean.class)
.parse(element, context);
}
return null;
}