cdc.applic.publication.SymbolFormatter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdc-applic-publication Show documentation
Show all versions of cdc-applic-publication Show documentation
Applicabilities Publication.
The newest version!
package cdc.applic.publication;
/**
* Interface implemented by objects that can format {@link Symbol}s.
*
* @author Damien Carbonne
*/
public interface SymbolFormatter extends PieceFormatter {
/**
* Returns the String representation of a symbol.
*
* @param symbol The Symbol.
* @return The String representation of {@code symbol}.
*/
public String getText(Symbol symbol);
/**
* Returns {@code true} when a symbol requires space between its text representation and a text literal.
*
* @param symbol The Symbol.
* @return {@code true} when {@code symbol} requires space between its text representation and a text literal.
*/
public boolean requiresSpace(Symbol symbol);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy