Package eu.bandm.tools.umod
Class UMod2Html
java.lang.Object
eu.bandm.tools.umod.UMod2Html
Pretty printer for UMod.
For HTML-Generation see
HtmlRenderer
.-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected static final String
(package private) int
(package private) int
(package private) Integer
protected UMod.Forest
(package private) int
(package private) int
(package private) int
(package private) String
TWO different strategies if not enough room:(package private) String
TWO different strategies if not enough room:(package private) String
TWO different strategies if not enough room:protected int
static final String
protected List<Element_pre.Content>
(package private) Integer
(package private) Integer
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Element_a
protected Element_a
(package private) String
protected Element_a
(package private) void
Goto targetCol.protected void
protected void
protected void
prettyPrint
(UMod.Forest forest, String dateAndTime) Generates HTML output like(package private) void
putClass
(UMod.ClassDef cd, int indent) (package private) void
(package private) void
putField
(UMod.ClassDef cd, UMod.FieldDef fd) (package private) void
putLf()
(package private) void
putSubclasses
(UMod.ClassDef sup, int indent) Alphabetical !?! better use Source order??(package private) void
ATTENTION, UMod Map type is shown as "a <-> b
".protected Element_span
protected Element_span
void
writeToFile
(UMod.Forest forest, String dateAndTime, int linewidth, boolean monolithic, File outputDir, String fname)
-
Field Details
-
path_to_stylesheet
- See Also:
-
targetDir
- See Also:
-
URL_BANDM_USER_DOC
- See Also:
-
forest
-
apidocpraefix
-
linewidth
protected int linewidth -
allVisitorNums_classDefs
-
allConstructorNums_classDefs
-
allVisitorNums_visitorDefs
-
indent_toplevel
int indent_toplevel -
indent_sublevel
int indent_sublevel -
indent_fieldstart
int indent_fieldstart -
col_typestart
Integer col_typestart -
shift_typestart
Integer shift_typestart -
col_consstart
int col_consstart -
shift_consstart
Integer shift_consstart -
is_toplevel
String is_toplevelTWO different strategies if not enough room://-> indent_toplevel=2 // --> indent_sublevel=3 | | Classname //--------> indent_fieldstart=10 //-------------------------------> col_typestart=35 fields_start_here SEQ int //--------> indent_fieldstart=10 // col_typestart=null, fieldname_type_distance=1 fields_start_here SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=null long_field_name SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=6 ----->-----> long_field_name SEQ int
-
is_sublevel
String is_sublevelTWO different strategies if not enough room://-> indent_toplevel=2 // --> indent_sublevel=3 | | Classname //--------> indent_fieldstart=10 //-------------------------------> col_typestart=35 fields_start_here SEQ int //--------> indent_fieldstart=10 // col_typestart=null, fieldname_type_distance=1 fields_start_here SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=null long_field_name SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=6 ----->-----> long_field_name SEQ int
-
is_fieldstart
String is_fieldstartTWO different strategies if not enough room://-> indent_toplevel=2 // --> indent_sublevel=3 | | Classname //--------> indent_fieldstart=10 //-------------------------------> col_typestart=35 fields_start_here SEQ int //--------> indent_fieldstart=10 // col_typestart=null, fieldname_type_distance=1 fields_start_here SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=null long_field_name SEQ int //--------> indent_fieldstart=10 //-----------------> col_typestart=20 shift_typestart=6 ----->-----> long_field_name SEQ int
-
blanks
- See Also:
-
preItems
-
col
int col
-
-
Constructor Details
-
UMod2Html
public UMod2Html()
-
-
Method Details
-
preItems_add
-
preItems_add
-
preItems_add
-
aRef
-
spanClass
-
spanStyle
-
aDef
-
aDef
-
prettyPrint
Generates HTML output likeMODEL xxxx EXT xxx from yy.yy.yy EXT xxx from yy.yy.yy TOPLEVEL CLASS CCCC fff fff | CCC | CCC END MODEL
-
allDocu
-
putSubclasses
Alphabetical !?! better use Source order?? -
putCol
-
putLf
void putLf() -
indent
Goto targetCol. If there is no space left, then either advance with stepWidth (!=null) as long as necessary, or go to next line. -
putClass
-
putField
-
putType
ATTENTION, UMod Map type is shown as "a <-> b
". The variant "MAP a TO b
" is not generated. -
writeToFile
public void writeToFile(UMod.Forest forest, String dateAndTime, int linewidth, boolean monolithic, File outputDir, String fname)
-