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

panda.doc.markdown.LinkRef Maven / Gradle / Ivy

Go to download

Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.

There is a newer version: 1.8.0
Show newest version
package panda.doc.markdown;

/**
 * A markdown link reference.
 */
class LinkRef {
	/** The link. */
	public final String link;
	/** The optional comment/title. */
	public String title;
	/** Flag indicating that this is an abbreviation. */
	public final boolean isAbbrev;

	/**
	 * Constructor.
	 * 
	 * @param link The link.
	 * @param title The title (may be null).
	 * @param isAbbrev Is abbreviate
	 */
	public LinkRef(final String link, final String title, final boolean isAbbrev) {
		this.link = link;
		this.title = title;
		this.isAbbrev = isAbbrev;
	}

	/** @see java.lang.Object#toString() */
	@Override
	public String toString() {
		return this.link + " \"" + this.title + "\"";
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy