/*
* [Book.java]
*
* Summary: Expands HTML Book macro. Facade for stores.Book.
*
* Copyright: (c) 2009-2017 Roedy Green, Canadian Mind Products, http://mindprod.com
*
* Licence: This software may be copied and used freely for any purpose but military.
* http://mindprod.com/contact/nonmil.html
*
* Requires: JDK 1.8+
*
* Created with: JetBrains IntelliJ IDEA IDE http://www.jetbrains.com/idea/
*
* Version History:
* 1.8 2009-02-06 include go package in ZIP bundle.
*/
package com.mindprod.htmlmacros.macro;
import static java.lang.System.*;
/**
* Expands HTML Book macro. Facade for stores.Book.
*
* @author Roedy Green, Canadian Mind Products
* @version 1.8 2009-02-06 include go package in ZIP bundle.
* @since 2009
*/
public final class Book extends com.mindprod.stores.Book
{
/**
* Generate a book referral. The real work is done by the amazon.Book class * @param parms from embedded macro
*
* @param quiet true if want output suppressed.
* @param verbose @return expanded macro
*/
public String expandMacro( String[] parms, boolean quiet, boolean verbose )
{
if ( !quiet )
{
// indicate we handled an Book macro on the console
out.print( "B" );
}
// use implementation in com.mindprod.stores.Book.
return super.expandMacro( parms, quiet, verbose );
}
} // end Book