public static class LJV.Context
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
baseFileName
The name of the output file is derived from
baseFileName
by appending successive integers. |
boolean |
ignorePrivateFields
Allow private, protected and package-access fields to be shown.
|
java.lang.String |
keepDotFile
If null (the default), the DOT file is written to a temporary file
which is then deleted.
|
java.lang.String |
outputFormat
Set the DOT output file format.
|
boolean |
qualifyNestedClassNames
Toggle whether to display qualified nested class names in the label for
an object from the same package as LJV (true) or to display an
abbreviated name (false, the default).
|
boolean |
showFieldNamesInLabels
Toggle whether or not to include the field name in the label for an
object.
|
boolean |
showPackageNamesInClasses |
Constructor and Description |
---|
LJV.Context() |
Modifier and Type | Method and Description |
---|---|
void |
ignoreClass(java.lang.Class cz)
Do not display any fields with this type.
|
void |
ignoreField(java.lang.reflect.Field field)
Do not display this field.
|
void |
ignoreField(java.lang.String field)
Do not display any fields with this name.
|
void |
ignoreFields(java.lang.Class cz)
Do not display any fields from this class.
|
void |
ignorePackage(java.lang.Package pk)
Do not display any fields that have a type from this package.
|
void |
setClassAttribute(java.lang.Class cz,
java.lang.String attrib)
Set the DOT attributes for a class.
|
void |
setFieldAttribute(java.lang.reflect.Field field,
java.lang.String attrib)
Set the DOT attributes for a specific field.
|
void |
setFieldAttribute(java.lang.String field,
java.lang.String attrib)
Set the DOT attributes for all fields with this name.
|
void |
treatAsPrimitive(java.lang.Class cz)
Treat objects of this class as primitives; i.e.,
toString
is called on the object, and the result displayed in the label like a
primitive field. |
void |
treatAsPrimitive(java.lang.Package pk)
Treat objects from this package as primitives; i.e.,
toString is called on the object, and the result displayed
in the label like a primitive field. |
public java.lang.String outputFormat
public java.lang.String baseFileName
baseFileName
by appending successive integers.public java.lang.String keepDotFile
public boolean ignorePrivateFields
ReflectPermission("suppressAccessChecks")
permission. This
is usually the case when running from an application, but not from an
applet or servlet.public boolean showFieldNamesInLabels
public boolean qualifyNestedClassNames
public boolean showPackageNamesInClasses
public void setClassAttribute(java.lang.Class cz, java.lang.String attrib)
public void setFieldAttribute(java.lang.reflect.Field field, java.lang.String attrib)
public void setFieldAttribute(java.lang.String field, java.lang.String attrib)
public void ignoreField(java.lang.reflect.Field field)
public void ignoreField(java.lang.String field)
public void ignoreFields(java.lang.Class cz)
public void ignoreClass(java.lang.Class cz)
public void ignorePackage(java.lang.Package pk)
public void treatAsPrimitive(java.lang.Class cz)
toString
is called on the object, and the result displayed in the label like a
primitive field.public void treatAsPrimitive(java.lang.Package pk)
toString
is called on the object, and the result displayed
in the label like a primitive field.