Bug 1016751

Summary: Helper methods for Java transformer
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Tomas Rohovsky <trohovsk>
Component: SwitchYardAssignee: Rob Cernich <rcernich>
Status: NEW --- QA Contact: Matej Melko <mmelko>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: ganandan, kejohnso, oskutka, soa-p-jira
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Rohovsky 2013-10-08 15:48:28 UTC
Description of problem:

Java transformation from/to XML mostly requires helper methods like getElementValue, toElement as you can see in many quickstarts. It would be nice to have some helper class or super class that will provide such boilerplate methods. I can imagine, that there could be more useful methods like these.

Comment 1 JBoss JIRA Server 2013-10-09 10:59:07 UTC
Tomas Rohovsky <trohovsk> made a comment on jira SWITCHYARD-1763

Instead of toElement can be used XMLHelper.getDocumentFromString(xml).getDocumentElement(). However it will be good to have XMLHelper.toElement(xml), since it is used pretty often. I have not found equivalent of getElementValue in XMLHelper.

Comment 2 Keith Babo 2013-11-01 13:46:29 UTC
Post 6.0