[
https://issues.jboss.org/browse/SHRINKDESC-45?page=com.atlassian.jira.plu...
]
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