All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.commonmark.testutil.example.Example Maven / Gradle / Ivy

There is a newer version: 0.17.0
Show newest version
package org.commonmark.testutil.example;

public class Example {

    private final String filename;
    private final String section;
    private final String info;
    private final int exampleNumber;
    private final String source;
    private final String html;

    public Example(String filename, String section, String info, int exampleNumber, String source, String html) {
        this.filename = filename;
        this.section = section;
        this.info = info;
        this.exampleNumber = exampleNumber;
        this.source = source;
        this.html = html;
    }

    public String getInfo() {
        return info;
    }

    public String getSource() {
        return source;
    }

    public String getHtml() {
        return html;
    }

    @Override
    public String toString() {
        return "File \"" + filename + "\" section \"" + section + "\" example " + exampleNumber;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy