I've put a decent amount of thought into this issue, I'll add some
additional info that might help out...
> for example, the startSimple() method. It would be helpful to have an
idea what a given method does normally when there is no class extension.
The InfosetOutputter class is an abstract class with no default
implementations, so an implementation of all functions, including
startSimple, is required--InfosetInputters don't do anything by default.
The InfosetOutputters that are bundled with Daffodil implement all of
these functions to create the kind of infoset that is output (e.g. XML
text, Scala Nodes, JSON). If you want to take a look at how our bundled
implementations handle their logic, they are all in this folder:
https://github.com/apache/daffodil/tree/main/daffodil-runtime1/src/main/scala/org/apache/daffodil/infoset
If you plan to keep your InfosetOutputter outside of the Daffodil
codebase, you'll need to implement all of the functions/logic yourself.
Our current implementions are mostly private, so extending and
overriding them to do you you want is likely not possible.
A good place to start would be to pick one that that's close to what you
want and modify the various functions as described in the example
implementation in the runtime properties proposal:
https://cwiki.apache.org/confluence/display/DAFFODIL/Proposal%3A+Runtime+Properties
Alternatively, it might be easier to just add the support to our
existing bundled InfosetOutputters to support this capability, and
contribute that work to Daffodil. Not only will this probably be easier
since you can reuse alot of the existing logic, but our ability to
provide support greatly increases when it's related to things being
added to Daffodil. This feature is a request we've seen multiple
times--it would be a very welcome addition and we'd be happy help get it
added to Daffodil.
On 4/8/22 8:42 AM, Mike Beckerle wrote:
Mark,
There definitely are javadoc jars, and the javadoc is also online here (for
release 3.3.0) https://daffodil.apache.org/docs/latest/javadoc/
<https://daffodil.apache.org/docs/latest/javadoc/>
The source and javadoc jars are normally pulled down using maven or sbt. But you
can find them directly on maven central also.
For example for the daffodil-runtime1 jar, all the jars, compiled binary,
sources, and the javadoc jar is at
https://repo1.maven.org/maven2/org/apache/daffodil/daffodil-runtime1_2.12/3.3.0/
<https://repo1.maven.org/maven2/org/apache/daffodil/daffodil-runtime1_2.12/3.3.0/>
On Thu, Apr 7, 2022 at 10:07 PM Thompson, Mark M [US] (DS)
<mark.m.thomp...@ngc.com <mailto:mark.m.thomp...@ngc.com>> wrote:
Greetings to All,____
__ __
Caveat: I am new to Daffodil and DFDL. I’m familiar with the
basic functionality and have successfully written____
DFDL schemas to handle text and binary inputs
to the parse/unparse cycle (separate assignments). ____
__ __
I am working on a task that requires the processing of binary files
containing an XML payload. The goal is to be____
able to validate the raw (un-escapified) XML against an XML
schema during the parsing phase. I have been researching____
the Daffodil JAPI InfosetOutputter family of classes as a
first step. I’ve also read Steve Lawrence’s write-up on the ____
RuntimePropertiies proposal. What I have yet to grasp or
find
is what InfosetOutputter functionality is to be extended .____
I’ve searched high and low but I have yet to find any
detailed information on what basic functionality is provided by,____
for example, the startSimple() method. It would be helpful to have an idea
what a given method does normally when____
there is no class extension.____
__ __
Can anyone recommend a place to start or a source of info on the
InfosetOutputter family of classes?____
__ __
I am working in NetBeans and every class I find seems to indicate that:____
Javadoc not found. Either Javadoc documentation for this item does not
exist
or ____
you have not added specified Javadoc in the Java
Platform Manager or the Library ____
Manager.____
__ __
Are there Javadoc(s) available corresponding to the Daffodil
JAPI classes?____
__ __
It feels like I’m missing some basic configuration setup
settings or files. Any guidance or suggestions will____
be greatly appreciated.____
__ __
Thank you for your time,____
Mark M. Thompson____
Northrop Grumman Defense Systems____
Software Engineer____
(818) 712-7439____
__ __