Top Description Fields Constructors Methods
uk.ac.ed.ph.snuggletex.internal.util

public final Enum PropertyOptions

extends Enum<PropertyOptions>
Class Inheritance

Enumerates the different options that can be used for outputting property values in ObjectUtilities#beanToString(Object). (This is copied from ph-commons-util.)
Author
David McKain
Version
$Revision$

Field Summary

Modifier and TypeField and Description
public static final PropertyOptions
HIDE_VALUE

Value of property will be omitted, but property will be shown in toString() if non-null to indicate its presence.

public static final PropertyOptions
IGNORE_PROPERTY

Property should be left out completely from toString() results

public static final PropertyOptions
SHOW_FULL

The default option, this shows the property value in full glory, expanding Arrays and calling Object#toString() on Objects.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PropertyOptions
public static PropertyOptions[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

HIDE_VALUEback to summary
public static final PropertyOptions HIDE_VALUE

Value of property will be omitted, but property will be shown in toString() if non-null to indicate its presence.

IGNORE_PROPERTYback to summary
public static final PropertyOptions IGNORE_PROPERTY

Property should be left out completely from toString() results

SHOW_FULLback to summary
public static final PropertyOptions SHOW_FULL

The default option, this shows the property value in full glory, expanding Arrays and calling Object#toString() on Objects.

Constructor Detail

PropertyOptionsback to summary
private PropertyOptions()

Method Detail

valueOfback to summary
public static PropertyOptions valueOf(String name)
valuesback to summary
public static PropertyOptions[] values()