[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKDESC-45) Import XML to generic Node structure should be public API
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Aug 25 14:19:17 EDT 2011
[ https://issues.jboss.org/browse/SHRINKDESC-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624107#comment-12624107 ]
Andrew Rubinger commented on SHRINKDESC-45:
-------------------------------------------
This is not currently an API, but represented in the SPI. Probably the API view could be what's described in SHRINKDESC-44, without any "Node" grammars.
> Import XML to generic Node structure should be public API
> ---------------------------------------------------------
>
> Key: SHRINKDESC-45
> URL: https://issues.jboss.org/browse/SHRINKDESC-45
> Project: ShrinkWrap Descriptors
> Issue Type: Feature Request
> Components: api
> Affects Versions: 0.1.5
> Reporter: Lincoln Baxter III
>
> XMLImporter should probably be public, and provide a few convenience methods to build an ad-hoc Node graph.
> XMLImporter.asNodes(InputStream stream);
> XMLImporter.asNodes(String xml);
> XMLImporter.asNodes(byte[] xml);
> This would make Descriptors useful as a pure XML manipulation library, and provide a nice path to entry for new users. A nice appealing feature to get people to use it in their projects.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list