Search
XmlSerializationContext.readEnum Method
See Also
 






Reads an enumeration value with the specified name.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public int readEnum (
    String elementName,
    Element parentElement
)

 Parameters

elementName

The name of the element containing the enumeration value.

parentElement

The parent element of the node with the specified name.

 Return Value

An enumeration constant. Returns 0 if there is no element with the specified name under the specified parent.

 See Also