org.ucl.xpath.types
Class TextType

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

public class TextType
extends NodeType

A representation of the TextType datatype


Constructor Summary
TextType(org.w3c.dom.Text v, int doc_type)
          Initialises using the supplied parameters
 
Method Summary
 QName node_name()
          Unsupported method for this nodetype.
 java.lang.String string_type()
          Retrieves the datatype's name
 java.lang.String string_value()
          Retrieves a String representation of the actual value stored
 ResultSequence typed_value()
          Creates a new ResultSequence consisting of the Text value 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

TextType

public TextType(org.w3c.dom.Text v,
                int doc_type)
Initialises using the supplied parameters

Parameters:
v - The value of the TextType node
doc_type - The document ordering
Method Detail

string_type

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

Specified by:
string_type in class AnyType
Returns:
"text" which is the datatype's name

string_value

public java.lang.String string_value()
Retrieves a String representation of the actual value stored

Specified by:
string_value in class AnyType
Returns:
String representation of the actual value stored

typed_value

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

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

node_name

public QName node_name()
Unsupported method for this nodetype.

Specified by:
node_name in class NodeType
Returns:
null (no user defined name for this node gets defined)