Package 

Interface PublicationParser

    • Method Summary

      Modifier and Type Method Description
      abstract Try<Publication.Builder, PublicationParser.ParseError> parse(Asset asset, WarningLogger warnings) Constructs a Publication.Builder to build a Publication from a publication asset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • parse

         abstract Try<Publication.Builder, PublicationParser.ParseError> parse(Asset asset, WarningLogger warnings)

        Constructs a Publication.Builder to build a Publication from a publication asset.

        Parameters:
        asset - Publication asset.
        warnings - Used to report non-fatal parsing warnings, such as publication authoring mistakes.