Bug 1016751 - Helper methods for Java transformer
Summary: Helper methods for Java transformer
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Rob Cernich
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 15:48 UTC by Tomas Rohovsky
Modified: 2023-05-15 19:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1763 0 Major Open Helper methods for Java transformer 2014-07-24 19:38:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.