aktbus.kqml
Class KqmlParam

java.lang.Object
  |
  +--aktbus.kqml.KqmlParam

public class KqmlParam
extends java.lang.Object

A KQML parameter which has a name and a value. The name must be a String while the value can be a String, or an XML subtree.


Field Summary
 java.lang.String name
          The name of the KQML parameter in a String.
 java.lang.Object value
          The value of the KQML parameter.
 
Constructor Summary
KqmlParam(java.lang.String name, org.w3c.dom.Node value)
          Construct a KqmlParam, taking a org.w3c.org.dom.Node (w/ its subtree underneath) as its value.
KqmlParam(java.lang.String name, java.lang.String value)
          Construct a KqmlParam with a String value.
KqmlParam(java.lang.String name, com.sun.xml.tree.XmlDocument value)
          Construct a KqmlParam, taking an XML document as its value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the KQML parameter in a String.

value

public java.lang.Object value
The value of the KQML parameter.
Constructor Detail

KqmlParam

public KqmlParam(java.lang.String name,
                 java.lang.String value)
Construct a KqmlParam with a String value.
Parameters:
name - The name of the KQML parameter in a String.
value - The value of the KQML parameter in a String.

KqmlParam

public KqmlParam(java.lang.String name,
                 com.sun.xml.tree.XmlDocument value)
Construct a KqmlParam, taking an XML document as its value.
Parameters:
name - The name of the KQML parameter in a String.
value - The value of the KQML parameter, which is a com.sun.xml.tree.XmlDocument XML document.

KqmlParam

public KqmlParam(java.lang.String name,
                 org.w3c.dom.Node value)
Construct a KqmlParam, taking a org.w3c.org.dom.Node (w/ its subtree underneath) as its value.
Parameters:
name - The name of the KQML parameter in a String.
value - The value of the KQML parameter in a org.w3c.dom.Node.