com.sun.enterprise.admin.cli.schemadoc
Class HtmlFormat

java.lang.Object
  extended by com.sun.enterprise.admin.cli.schemadoc.HtmlFormat
All Implemented Interfaces:
SchemaOutputFormat

@Service(name="html")
public class HtmlFormat
extends java.lang.Object
implements SchemaOutputFormat


Field Summary
private  java.util.Map<java.lang.String,ClassDef> defs
           
private  java.io.PrintWriter detail
           
private  java.io.File dir
           
private  java.util.Set<ClassDef> toc
           
private  java.io.PrintWriter tocWriter
           
 
Constructor Summary
HtmlFormat()
           
 
Method Summary
private  void buildDetail(ClassDef def)
           
private  void buildToc(ClassDef def)
           
private  void copy(java.lang.String resource)
           
private  void copyResources()
           
private  void footer(java.io.PrintWriter writer)
           
private  java.lang.String link(ClassDef def)
           
 void output(Context context)
           
private  void printAttributeData(org.jvnet.hk2.config.Attribute annotation)
           
private  void printHeaderRow(java.io.PrintWriter writer, java.lang.String... values)
           
private  void printKeyValue(java.io.PrintWriter writer, java.lang.Object value)
           
private  void println(java.io.PrintWriter writer, java.lang.String text)
           
private  void printPropertyData(ClassDef def)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tocWriter

private java.io.PrintWriter tocWriter

detail

private java.io.PrintWriter detail

toc

private java.util.Set<ClassDef> toc

dir

private java.io.File dir

defs

private java.util.Map<java.lang.String,ClassDef> defs
Constructor Detail

HtmlFormat

public HtmlFormat()
Method Detail

output

public void output(Context context)
Specified by:
output in interface SchemaOutputFormat

buildDetail

private void buildDetail(ClassDef def)

println

private void println(java.io.PrintWriter writer,
                     java.lang.String text)

printAttributeData

private void printAttributeData(org.jvnet.hk2.config.Attribute annotation)

printPropertyData

private void printPropertyData(ClassDef def)

buildToc

private void buildToc(ClassDef def)
               throws java.lang.NoSuchMethodException,
                      java.lang.reflect.InvocationTargetException,
                      java.lang.IllegalAccessException
Throws:
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

link

private java.lang.String link(ClassDef def)

footer

private void footer(java.io.PrintWriter writer)

copyResources

private void copyResources()
                    throws java.io.IOException
Throws:
java.io.IOException

copy

private void copy(java.lang.String resource)
           throws java.io.IOException
Throws:
java.io.IOException

printKeyValue

private void printKeyValue(java.io.PrintWriter writer,
                           java.lang.Object value)

printHeaderRow

private void printHeaderRow(java.io.PrintWriter writer,
                            java.lang.String... values)


Copyright © 2012 GlassFish Community. All Rights Reserved.