You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2021/01/21 21:26:00 UTC
[jira] [Comment Edited] (DAFFODIL-1909) JAPI needs DISimple,
DIComplex, DIArray, DIElement, etc for InfosetOutputter
[ https://issues.apache.org/jira/browse/DAFFODIL-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269654#comment-17269654 ]
Mike Beckerle edited comment on DAFFODIL-1909 at 1/21/21, 9:25 PM:
-------------------------------------------------------------------
Could withdraw the abstract class from the API.
Might be in use by NiFi adapter.
was (Author: mbeckerle):
Could withdraw the abstract class from the API.
> JAPI needs DISimple, DIComplex, DIArray, DIElement, etc for InfosetOutputter
> ----------------------------------------------------------------------------
>
> Key: DAFFODIL-1909
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1909
> Project: Daffodil
> Issue Type: Bug
> Components: API
> Affects Versions: 2.1.0
> Reporter: Mike Beckerle
> Priority: Minor
>
> Our JAPI and SAPI don't allow one to drill down (into the javadoc/scaladoc) of the DISimple and other DINode subclasses that are passed to the InfosetOutputter methods.
> The information on these DINode classes, including the ElementRuntimeData information needed by an infoset outputter needs to be on documented APIs.
> This suggests we need to revisit the DINode classes and subclasses, and create a read-only trait that we cast up to when passing these to the InfosetOutputter API methods.
> This is what InfosetElement, InfosetDocument, and InfosetArray were supposed to be, though whether they are suitable is unclear. The DISimple/DIComplex distinction, for example, is very helpful when creating an InfosetOutputter. We may also want to provide an interface to a subset of the ERD data - as many of its members are internally about the needs of parsers/unparsers and not relevant to the external API for Daffodil.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)