net.sf.latextaglet
Class LaTeXBlockEquationTaglet

java.lang.Object
  extended by net.sf.latextaglet.internal.LaTeXTaglet
      extended by net.sf.latextaglet.LaTeXBlockEquationTaglet
All Implemented Interfaces:
com.sun.tools.doclets.internal.toolkit.taglets.Taglet

public class LaTeXBlockEquationTaglet
extends LaTeXTaglet

Taglet class for block equation style formulae
Usage: @latex.block.equation \sum_i x_i
This is an example (see below)

 Copyright (C) Stephan Dlugosz, 2007. All Rights Reserved.

 LaTeXTaglet is free software; you can redistribute it and/or modify
 it under the terms of the GNU Lesser Public License as published by
 the Free Software Foundation; either version 2.1 of the License, or
 (at your option) any later version.

 LaTeXTaglet is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser Public License for more details.
 
 You should have received a copy of the GNU Lesser Public License
 along with LaTeXTaglet; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 

Author:
Stephan Dlugosz
Formula:
\sum_i x_i

Constructor Summary
LaTeXBlockEquationTaglet()
           
 
Method Summary
 java.lang.String getName()
          Return the name of this custom tag.
 com.sun.tools.doclets.internal.toolkit.taglets.TagletOutput getTagletOutput(com.sun.javadoc.Doc arg0, com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter arg1)
           
 com.sun.tools.doclets.internal.toolkit.taglets.TagletOutput getTagletOutput(com.sun.javadoc.Tag arg0, com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter arg1)
           
 boolean isInlineTag()
          Will return false since @latex is not an inline tag.
static void register(java.util.Map tagletMap)
          Register this Taglet.
 java.lang.String toString(com.sun.javadoc.Tag[] tags, com.sun.tools.doclets.internal.toolkit.Configuration conf)
           
 java.lang.String toString(com.sun.javadoc.Tag tag, com.sun.tools.doclets.internal.toolkit.Configuration conf)
           
 
Methods inherited from class net.sf.latextaglet.internal.LaTeXTaglet
inConstructor, inField, inMethod, inOverview, inPackage, inType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaTeXBlockEquationTaglet

public LaTeXBlockEquationTaglet()
Method Detail

getName

public java.lang.String getName()
Return the name of this custom tag.

Returns:
Name

isInlineTag

public boolean isInlineTag()
Description copied from class: LaTeXTaglet
Will return false since @latex is not an inline tag.

Specified by:
isInlineTag in interface com.sun.tools.doclets.internal.toolkit.taglets.Taglet
Overrides:
isInlineTag in class LaTeXTaglet
Returns:
false since @latex is not an inline tag.

register

public static void register(java.util.Map tagletMap)
Register this Taglet.

Parameters:
tagletMap - the map to register this tag to.

toString

public java.lang.String toString(com.sun.javadoc.Tag tag,
                                 com.sun.tools.doclets.internal.toolkit.Configuration conf)
Specified by:
toString in class LaTeXTaglet
Returns:
String that is printed in the corresponding html file

toString

public java.lang.String toString(com.sun.javadoc.Tag[] tags,
                                 com.sun.tools.doclets.internal.toolkit.Configuration conf)
Specified by:
toString in class LaTeXTaglet
Returns:
String that is printed in the corresponding html file

getTagletOutput

public com.sun.tools.doclets.internal.toolkit.taglets.TagletOutput getTagletOutput(com.sun.javadoc.Tag arg0,
                                                                                   com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter arg1)
                                                                            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTagletOutput

public com.sun.tools.doclets.internal.toolkit.taglets.TagletOutput getTagletOutput(com.sun.javadoc.Doc arg0,
                                                                                   com.sun.tools.doclets.internal.toolkit.taglets.TagletWriter arg1)
                                                                            throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException