|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--XMLParameterTree
This class is used to interpret the received XML parameter information. The information is translated into a HTML tree structure that gives the user a graphical representation of the invocation parameters.
Field Summary | |
var |
invocation
|
var |
reply
|
var |
tree
|
var |
valid
|
var |
xml
|
Constructor Summary | |
XMLParameterTree
(html_tree, xml_doc)
|
Method Summary | |
function
|
any(dom_node, tree_node)
Updates the HTML tree with any parameter information. |
function
|
array(dom_node, tree_node)
Updates the HTML tree with array parameter information. |
function
|
data(dom_node, tree_node)
Updates the HTML tree with simple parameter type information. |
function
|
direction(dom_node, tree_node)
Updates the HTML tree with directional information. |
function
|
enumeration(dom_node, tree_node)
Updates the HTML tree with enum parameter information. |
function
|
exception(dom_node, tree_node)
Updates the HTML tree with exception parameter information. |
function
|
firstChildElement(node)
This routine returns the first DOM child node of type 'element'. |
function
|
interface(dom_node, tree_node)
Updates the HTML tree with interface parameter information. |
function
|
member(dom_node, tree_node)
Updates the HTML tree with member parameter information. |
function
|
sequence(dom_node, tree_node)
Updates the HTML tree with sequence parameter information. |
function
|
struct(dom_node, tree_node)
Updates the HTML tree with struct parameter information. |
function
|
union(dom_node, tree_node)
Updates the HTML tree with union parameter information. |
function
|
update()
This routine is called to update the HTML parameter tree. |
function
|
updateTree(dom_node, tree_node)
This routine acts as a switch statement to test for all possible parameter types that must be handled. |
function
|
valuetype(dom_node, tree_node)
Updates the HTML tree with valuetype parameter information. |
function
|
walk(dom_node, tree_node)
This routine walks through a given DOM fragment looking for nodes of type 'element'. |
Field Detail |
var invocation
var reply
var tree
var valid
var xml
Constructor Detail |
function XMLParameterTree(html_tree, xml_doc)
html_tree
- HTML tree object where the parameter information is placed into.
xml_doc
- Contains the parser XML parameter information.
Method Detail |
function any(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function array(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function data(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function direction(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function enumeration(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function exception(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function firstChildElement(node)
node
- DOM node to examine.
function interface(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function member(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function sequence(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function struct(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function union(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function update()
function updateTree(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function valuetype(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- The parameter information will be added as a child to this HTML tree node.
function walk(dom_node, tree_node)
dom_node
- DOM fragment to examine.
tree_node
- Argument to pass on to the updateTree routine.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |