public abstract class ClassAttributeBehaviour extends Object
Three basic constants are defined:
NONE
ALWAYS
IF_NEEDED
In addition, simple()
can be used to produce just the simple name of the class,
whereas by default full class name will be printed.
ExportConfig.withClassAttribute(ClassAttributeBehaviour)
Modifier and Type | Field and Description |
---|---|
static ClassAttributeBehaviour |
ALWAYS |
static ClassAttributeBehaviour |
IF_NEEDED |
static ClassAttributeBehaviour |
NONE |
Modifier and Type | Method and Description |
---|---|
protected String |
print(Class t) |
ClassAttributeBehaviour |
simple() |
String |
toString() |
public static final ClassAttributeBehaviour NONE
public static final ClassAttributeBehaviour ALWAYS
public static final ClassAttributeBehaviour IF_NEEDED
Copyright © 2016. All rights reserved.