Packageorg.spicefactory.lib.xml
Classpublic class DefaultNamingStrategy
InheritanceDefaultNamingStrategy Inheritance Object
Implements NamingStrategy

Default implementation of the NamingStrategy interface, transforming camel-case property names to XML names with dashes. The property name objectCount for example would be transformed to object-count.



Public Methods
 MethodDefined By
  
toXmlName(actionScriptName:String):String
Returns the XML name for the specified ActionScript name.
DefaultNamingStrategy
Method Detail
toXmlName()method
public function toXmlName(actionScriptName:String):String

Returns the XML name for the specified ActionScript name.

Parameters

actionScriptName:String — the ActionScript name

Returns
String — the corresponding XML name