Click or drag to resize

XmlHelperParseInitParams Method (IXmlElement, XmlHelperIParameterResolver)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Parse the specified "init-params" element of the following structure:
            <!ELEMENT init-params (init-param*)>
            <!ELEMENT init-param ((param-name | param-type), param-value,
            description?)>
            
into an object array.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static Object[] ParseInitParams(
	IXmlElement xmlParams,
	XmlHelperIParameterResolver resolver
)

Parameters

xmlParams
Type: Tangosol.Run.XmlIXmlElement
The "init-params" IXmlElement to parse.
resolver
Type: Tangosol.Run.XmlXmlHelperIParameterResolver
An XmlHelperIParameterResolver to resolve "{macro}" values (optional).

Return Value

Type: Object
An array of parameters.
Remarks
For the purpose of this method only the parameters that have the "param-type" element specified are processed. The following types are supported:
  • string (a.k.a. System.String)
  • bool (a.k.a. System.Boolean)
  • int (a.k.a. System.Int32)
  • long (a.k.a. System.Int64)
  • double (a.k.a. System.Double)
  • float (a.k.a. System.Single)
  • decimal (a.k.a. System.Decimal)
  • file (a.k.a. System.IO.File)
  • date (a.k.a. System.DateTime)
  • time (a.k.a. System.DateTime
  • xml (a.k.a. Tangosol.Run.Xml.IXmlElement)
For any other [explicitly specified] types the corresponding "init-param" IXmlElement itself is placed into the returned array.
See Also