Class AqdefWriter

    • Constructor Detail

      • AqdefWriter

        public AqdefWriter()
    • Method Detail

      • writeToString

        public String writeToString​(@NonNull
                                    @NonNull AqdefObjectModel aqdefObjectModel)
        Creates AQDFQ structure and returns it as a String
        Parameters:
        aqdefObjectModel - model to be written, must not be null
        Returns:
        AQDFQ content as a String, never null
      • writeTo

        public void writeTo​(@NonNull
                            @NonNull AqdefObjectModel aqdefObjectModel,
                            @NonNull
                            @NonNull Writer writer)
                     throws IOException
        Creates AQDEF structure and writes it to a given writer
        Parameters:
        aqdefObjectModel - model to be written, must not be null
        writer - writer to write model to, must not be null
        Throws:
        IOException - thrown when some I/O error occur