All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.ac.ed.ph.snuggletex.internal.util.PropertyOptions Maven / Gradle / Ivy

/* $Id: PropertyOptions.java 525 2010-01-05 14:07:36Z davemckain $
 *
 * Copyright (c) 2010, The University of Edinburgh.
 * All Rights Reserved
 */
package uk.ac.ed.ph.snuggletex.internal.util;

/**
 * Enumerates the different options that can be used for outputting property values in {@link
 * ObjectUtilities#beanToString(Object)}.
 *
 * 

(This is copied from ph-commons-util.) * * @author David McKain * @version $Revision: 525 $ */ public enum PropertyOptions { /** Property should be left out completely from toString() results */ IGNORE_PROPERTY, /** * Value of property will be omitted, but property will be shown in toString() if non-null to * indicate its presence. */ HIDE_VALUE, /** * The default option, this shows the property value in full glory, expanding Arrays and calling * {@link Object#toString()} on Objects. */ SHOW_FULL, ; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy