Uiinfrastructure API Docs  
 

XMLBaseVarPack Class

This class is designed to read in Name/Value pairs for an xml file and store them in a hashtable for easy lookup. The XML file is assumed to have a single root node with multiple section nodes underneath it. The section nodes contain multiple Name/Value pair nodes where the name of the node is the name and the value attribute is the value (i.e. ). These will be read into an internal hashtable and will be accessible by calling VarPack.GetValue("SectionNameNodeName"). For example, if there is a section called "Timeouts" and a Node in that section that looks like this: that value should be retrieved by calling VarPack.GetValueAsInt("Timeout", "DocumentTimeout"), which returns an int. You can also use VarPack.GetValue("TimeoutDocumentTimeout") which will return an Object, but that is not the preferred method.

For a list of all members of this type, see XMLBaseVarPack Members.

System.Object
   com.plumtree.uiinfrastructure.web.BaseVarPack
      com.plumtree.uiinfrastructure.application.varpacks.XMLBaseVarPack

public abstract class XMLBaseVarPack : BaseVarPack

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.plumtree.uiinfrastructure.application.varpacks

Assembly: uiinfrastructure (in uiinfrastructure.dll)

See Also

XMLBaseVarPack Members | com.plumtree.uiinfrastructure.application.varpacks Namespace