MindFusion.Java Package Programmer's Guide
XmlPersistContext.readEnum Method (String, Element, Object)
See Also
 






Reads an enum value with the specified name and default value.

Namespace: com.mindfusion.charting
Package: com.mindfusion.charting

 Syntax

Java  Copy Code

public Object readEnum (
    String elementName,
    Element parentElement,
    Object defaultValue
)

 Parameters

elementName

The name of the element to read.

parentElement

The parent element.

defaultValue

The default value of the enumeration.

 Return Value

An object that represents the enum that was read.

 See Also

readEnum Method Overload List
XmlPersistContext Members
XmlPersistContext Class
com.mindfusion.charting Namespace