OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.amp

class XML

Object
->jsx3.lang.Object
  ->jsx3.amp.XML

class XML
extends jsx3.lang.Object
An XML wrapper that can be backed either by a real XML node or by a nested object structure.

To wrap a nested object structure, pass an object to the constructor with the following format:

Constructor Summary
void
Method Summary
String
attr(a : String)
Returns an attribute of this element.
jsx3.amp.XML
child(name : String)
Returns a child element of this element whose base name is equal to name.
jsx3.$Array<jsx3.amp.XML>
Returns this child elements of this element.
String
Returns the base name of this element.
String
Returns the node value of this element.
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf, toString
Constructor Detail

init

void init(elm : jsx3.xml.Entity | Object)

Parameters:

elm
Method Detail

attr

String attr(a : String)
Returns an attribute of this element.

Parameters:

athe name of the attribute.

Returns:

the value of the attribute.  

child

jsx3.amp.XML child(name : String)
Returns a child element of this element whose base name is equal to name.

Parameters:

name

Returns:

 

children

jsx3.$Array<jsx3.amp.XML> children()
Returns this child elements of this element.

Returns:

 

nname

String nname()
Returns the base name of this element.

Returns:

the base name.  

value

String value()
Returns the node value of this element.

Returns: