com.sun.xml.bind.taglets
Class DotDiagramTag

java.lang.Object
  extended by com.sun.xml.bind.taglets.DotDiagramTag

public class DotDiagramTag
extends java.lang.Object

Uses GraphViz/Dot to draw a directed diagram.


Constructor Summary
DotDiagramTag()
           
 
Method Summary
protected  java.lang.String getContents(Tag tag)
          Gets the text that generates image.
protected  int getImageIndex(Doc doc)
           
 java.lang.String getName()
           
protected  java.io.File getOutputFile(TagletWriter writer, PackageDoc pkg, java.lang.String imageFileName)
          Returns the full file name for the additional generated file.
protected  PackageDoc getPackage(Doc doc)
           
 TagletOutput getTagletOutput(Tag tag, TagletWriter writer)
           
 boolean inConstructor()
           
 boolean inField()
           
 boolean inMethod()
           
 boolean inOverview()
           
 boolean inPackage()
           
 boolean inType()
           
 boolean isInlineTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotDiagramTag

public DotDiagramTag()
Method Detail

getName

public java.lang.String getName()

getTagletOutput

public TagletOutput getTagletOutput(Tag tag,
                                    TagletWriter writer)

getContents

protected java.lang.String getContents(Tag tag)
Gets the text that generates image.


inField

public boolean inField()

inConstructor

public boolean inConstructor()

inMethod

public boolean inMethod()

inOverview

public boolean inOverview()

inPackage

public boolean inPackage()

inType

public boolean inType()

isInlineTag

public boolean isInlineTag()

getOutputFile

protected final java.io.File getOutputFile(TagletWriter writer,
                                           PackageDoc pkg,
                                           java.lang.String imageFileName)
Returns the full file name for the additional generated file.

Parameters:
imageFileName - just the base name of the file name.

getPackage

protected final PackageDoc getPackage(Doc doc)

getImageIndex

protected final int getImageIndex(Doc doc)