Main Page | Packages | Class Tree | Index | Help

xp.data

class XMLCompare

Object
  |
  +--xp.data.XMLCompare


class XMLCompare
extends Object

The XMLCompare class creates a function wrapper to let you a sort om XMLNodes



Method Summary

public static
create ( fieldName, options: Number ): Function
Creates a function wrapper for sorting XMLNodes

public static
getNumber ( v: String ): Object
Gets the first digit from a string(for sorting)



Method Documentation

create

public static function create(fieldName,
 options: Number): Function
Creates a function wrapper for sorting XMLNodes

Parameters:
fieldName
The name or array of names of fields to sort on
options
Array sort options return A compare function

getNumber

public static function getNumber(v: String): Object
Gets the first digit from a string(for sorting)

Parameters:
v
The string to parse

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc