
org.commonmark.spec.SpecExample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commonmark-test-util Show documentation
Show all versions of commonmark-test-util Show documentation
commonmark-java classes for tests
package org.commonmark.spec;
public class SpecExample {
private final String section;
private final int exampleNumber;
private final String source;
private final String html;
public SpecExample(String section, int exampleNumber, String source, String html) {
this.section = section;
this.exampleNumber = exampleNumber;
this.source = source;
this.html = html;
}
public String getSource() {
return source;
}
public String getHtml() {
return html;
}
@Override
public String toString() {
return "Section \"" + section + "\" example " + exampleNumber;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy