Packageat.utils
Classpublic class XMLUtils
ImplementsIXMLUtils



Public Methods
 MethodDefined by
  
XMLUtils(caller:Function = null)
XMLUtils
  
attributeExists(node:XML, attributeName:String, allowEmpty:Boolean = true):Boolean
[static]
XMLUtils
  
attributeIsUnique(xmlList:XMLList, attributeName:String):Boolean
[static]
XMLUtils
  
getFirstAncestorWithAttribute(currentNode:XML, attributeName:String, allowEmptyString:Boolean = false):XML
[static]
XMLUtils
  
[static]
XMLUtils
  
nextSibling(node:XML):XML
[static]
XMLUtils
  
previousSibling(node:XML):XML
[static]
XMLUtils
  
setAttribute(node:XML, attributeName:String, attributeValue:String):XML
[static]
XMLUtils
Constructor detail
XMLUtils()constructor
public function XMLUtils(caller:Function = null)Parameters
caller:Function (default = null)
Method detail
attributeExists()method
public static function attributeExists(node:XML, attributeName:String, allowEmpty:Boolean = true):BooleanParameters
node:XML
 
attributeName:String
 
allowEmpty:Boolean (default = true)

Returns
Boolean
attributeIsUnique()method 
public static function attributeIsUnique(xmlList:XMLList, attributeName:String):BooleanParameters
xmlList:XMLList
 
attributeName:String

Returns
Boolean
getFirstAncestorWithAttribute()method 
public static function getFirstAncestorWithAttribute(currentNode:XML, attributeName:String, allowEmptyString:Boolean = false):XMLParameters
currentNode:XML
 
attributeName:String
 
allowEmptyString:Boolean (default = false)

Returns
XML
getInstance()method 
public static function getInstance():XMLUtils

Returns
XMLUtils
nextSibling()method 
public static function nextSibling(node:XML):XMLParameters
node:XML

Returns
XML
previousSibling()method 
public static function previousSibling(node:XML):XMLParameters
node:XML

Returns
XML
setAttribute()method 
public static function setAttribute(node:XML, attributeName:String, attributeValue:String):XMLParameters
node:XML
 
attributeName:String
 
attributeValue:String

Returns
XML