org.ucl.xpath.types
Class CommentType

java.lang.Object
  extended byorg.ucl.xpath.types.AnyType
      extended byorg.ucl.xpath.types.NodeType
          extended byorg.ucl.xpath.types.CommentType

public class CommentType
extends NodeType

A representation of the CommentType datatype


Constructor Summary
CommentType(org.w3c.dom.Comment v, int doc_order)
          Initialise according to the supplied parameters
 
Method Summary
 QName node_name()
          Unsupported method for this node.
 java.lang.String string_type()
          Retrieves the datatype's full pathname
 java.lang.String string_value()
          Retrieves a String representation of the comment being stored
 ResultSequence typed_value()
          Creates a new ResultSequence consisting of the comment stored
 
Methods inherited from class org.ucl.xpath.types.NodeType
after, after, before, before, document_order, dom_to_xpath, eliminate_dups, nilled, node_value, same, sort_document_order
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentType

public CommentType(org.w3c.dom.Comment v,
                   int doc_order)
Initialise according to the supplied parameters

Parameters:
v - The comment being represented
doc_order - The document order
Method Detail

string_type

public java.lang.String string_type()
Retrieves the datatype's full pathname

Specified by:
string_type in class AnyType
Returns:
"comment" which is the datatype's full pathname

string_value

public java.lang.String string_value()
Retrieves a String representation of the comment being stored

Specified by:
string_value in class AnyType
Returns:
String representation of the comment being stored

typed_value

public ResultSequence typed_value()
Creates a new ResultSequence consisting of the comment stored

Specified by:
typed_value in class NodeType
Returns:
New ResultSequence consisting of the comment stored

node_name

public QName node_name()
Unsupported method for this node.

Specified by:
node_name in class NodeType
Returns:
null