Search
XmlSerializationContext.readBool Method (String, Element, Boolean)
See Also
 






Reads a boolean value with the specified name.

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

 Syntax

Java  Copy Code

public boolean readBool (
    String elementName,
    Element parentElement,
    boolean defaultValue
)

 Parameters

elementName

The name of the element containing the boolean value.

parentElement

The parent element of the node with the specified name.

defaultValue

The value that should be returned if there is no node with the specified name under the specified parent element.

 Return Value

A boolean value.

 Remarks

If there is no element with the specified name, returns the specified default value.

 See Also