stevedlawrence commented on a change in pull request #394:
URL: https://github.com/apache/incubator-daffodil/pull/394#discussion_r455925365
##########
File path: daffodil-japi/src/main/scala/org/apache/daffodil/japi/Daffodil.scala
##########
@@ -373,6 +374,12 @@ class ProcessorFactory private[japi] (private var pf:
SProcessorFactory)
new DataProcessor(dp)
}
+ /**
+ * Exposes the RootView object corresponding to this ProcessorFactory. This
can
+ * be used to start a walk using the walkFromRoot method in a DSOM Walker.
+ */
+ def rootView: RootView = pf.rootView
Review comment:
Yeah, the submodule is really only needed when we want to include View
stuff in public docs.
Not being public does mean in order to use the walker/views you kindof have
to know what you're doing and know where to find these Views. But that's not
unreasonable for experimental things. Agree that the subprojet probably isn't
needed right now.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]