Package

org.apache.daffodil

compiler

Permalink

package compiler

Visibility
  1. Public
  2. All

Type Members

  1. class Compiler extends api.DFDL.Compiler with Logging with HavingRootSpec

    Permalink
  2. trait HavingRootSpec extends Logging

    Permalink

    Both Compiler and ProcessorFactory share this same API call.

  3. class InvalidParserException extends Exception

    Permalink
  4. sealed class ParserOrUnparser extends AnyRef

    Permalink

    Some grammar rules need to be conditional based on whether we're trying for a parser or an unparser.

    Some grammar rules need to be conditional based on whether we're trying for a parser or an unparser.

    As a result, many grammar rules now have to be def, not lazy val, since they are parameterized by this.

    Note that using a dynamic variable doesn't work - because the time when the grammar rules are evaluated isn't necessarily within the dynamic scope of the variable binding. It might happen later.

  5. final class ProcessorFactory extends SchemaComponentImpl with api.DFDL.ProcessorFactory with HavingRootSpec

    Permalink
  6. case class RootSpec(ns: Option[NS], name: String) extends Product with Serializable

    Permalink

    Contains a specification of the root element to be used.

    Contains a specification of the root element to be used.

    The whole RootSpec is generally optional, but if you have one, the namespace part of it is optional as well.

    When the namespace part is None, it means "you, daffodil, figure out the namespace". Which it will do so long as it is unambiguous.

Value Members

  1. object BothParserAndUnparser extends ParserOrUnparser

    Permalink
  2. object Compiler

    Permalink

    Factory for Compiler instances

  3. object ForParser extends ParserOrUnparser

    Permalink
  4. object ForUnparser extends ParserOrUnparser

    Permalink

Ungrouped