org.ucl.xpath.types
Class XSNCName

java.lang.Object
  extended byorg.ucl.xpath.types.AnyType
      extended byorg.ucl.xpath.types.AnySimpleType
          extended byorg.ucl.xpath.types.AnyAtomicType
              extended byorg.ucl.xpath.types.CtrType
                  extended byorg.ucl.xpath.types.XSString
                      extended byorg.ucl.xpath.types.XSNCName
All Implemented Interfaces:
CmpEq, CmpGt, CmpLt

public class XSNCName
extends XSString

A representation of the NCName datatype


Constructor Summary
XSNCName()
          Initialises to null
XSNCName(java.lang.String x)
          Initialises using the supplied String
 
Method Summary
 ResultSequence constructor(ResultSequence arg)
          Creates a new ResultSequence consisting of the extractable NCName within the supplied ResultSequence
 java.lang.String string_type()
          Retrieves the datatype's full pathname
 java.lang.String type_name()
          Retrieves the datatype's name
 
Methods inherited from class org.ucl.xpath.types.XSString
eq, gt, lt, string_value, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSNCName

public XSNCName(java.lang.String x)
Initialises using the supplied String

Parameters:
x - String to be stored

XSNCName

public XSNCName()
Initialises to null

Method Detail

string_type

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

Overrides:
string_type in class XSString
Returns:
"xs:NCName" which is the datatype's full pathname

type_name

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

Overrides:
type_name in class XSString
Returns:
"NCName" which is the datatype's name

constructor

public ResultSequence constructor(ResultSequence arg)
                           throws DynamicError
Creates a new ResultSequence consisting of the extractable NCName within the supplied ResultSequence

Overrides:
constructor in class XSString
Parameters:
arg - The ResultSequence from which to extract the NCName
Returns:
New ResultSequence consisting of the NCName supplied
Throws:
DynamicError