Ant Organisation Ltd documentation

XmlHelper Members

XmlHelper overview

Public Static Methods

AddRowToInstanceDataString Adds a new blank row to the instance data string
CombineValuesAndInstance Combines the values obtained from editing this class with the values already known. Enforces readonly
DeleteRowFromInstanceDataString Deletes a row from an instance string
GetExtensionBlock Gets the extension block for the relevant type
GetInstanceDataFromModel Gets an XML document with the internal part of the instance tag
GetInstanceFromObjectOverloaded. Takes an object (which is content entryable) and generates its ContentDefinition and returns the Xml instance representing it
GetObjectFromInstanceOverloaded. Takes a content definition and a Xml instance and converts in to an object. Only works for content definitions which represent a class, and with classes that have a default constructor
GetValuesFromInstance Gets string values from an instance XML and returns a dictionary representing them
PutValuesIntoInstanceFromObjectOverloaded. Takes all the field values out of an object and puts them into an XForms instance
PutValuesIntoObjectFromInstanceOverloaded. Takes the values from a XForms model and maps them to an object (defined by a ContentDefintion)
ValidateObjectOverloaded. Validates the that data in the object meets the requirements of the ContentDefinition associated with it

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

XmlHelper Class | Ant.ContentEntry Namespace