org.ucl.xpath.types
Class PIType

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

public class PIType
extends NodeType

A representation of the ProcessingInstruction datatype


Constructor Summary
PIType(org.w3c.dom.ProcessingInstruction v, int doc_order)
          Initialises according to the supplied parameters
 
Method Summary
 QName node_name()
          Constructs the node's name
 java.lang.String string_type()
          Retrieves the datatype's full pathname
 java.lang.String string_value()
          Retrieves a String representation of the actual processing instruction stored
 ResultSequence typed_value()
          Creates a new ResultSequence consisting of the processing instruction stored
 org.w3c.dom.ProcessingInstruction value()
          Retrieves the actual processing instruction this node represents
 
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

PIType

public PIType(org.w3c.dom.ProcessingInstruction v,
              int doc_order)
Initialises according to the supplied parameters

Parameters:
v - The processing instruction this node represents
doc_order - The document order
Method Detail

value

public org.w3c.dom.ProcessingInstruction value()
Retrieves the actual processing instruction this node represents

Returns:
Actual processing instruction this node represents

string_type

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

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

string_value

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

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

typed_value

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

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

node_name

public QName node_name()
Constructs the node's name

Specified by:
node_name in class NodeType
Returns:
A QName representation of the node's name