stevedlawrence commented on a change in pull request #394:
URL: https://github.com/apache/incubator-daffodil/pull/394#discussion_r456009020



##########
File path: daffodil-sapi/src/main/scala/org/apache/daffodil/sapi/Daffodil.scala
##########
@@ -338,6 +339,13 @@ class ProcessorFactory private[sapi] (private var pf: 
SProcessorFactory)
     new DataProcessor(dp)
   }
 
+  class ExperimentalWrapper(val rootView: RootView)
+  /**
+   * Exposes the RootView object corresponding to this ProcessorFactory.  This 
can
+   * be used to start a walk using the walkFromRoot method in a DSOM Walker.
+   */
+  val experimental: ExperimentalWrapper = new ExperimentalWrapper(pf.rootView)
+

Review comment:
       I think it's reasonable to use the ``object experimental`` technique for 
the scala api. I think that makes fora cleaner scaladoc and feels more natural 
to scala users.




----------------------------------------------------------------
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]


Reply via email to