Package org.eclipse.wst.xml.xpath2.processor.internal.types


org.eclipse.wst.xml.xpath2.processor.internal.types
Class XSToken



public class XSToken
extends org.eclipse.wst.xml.xpath2.processor.internal.types.XSNormalizedString
A representation of the xs:token datatype

Constructor Summary

XSToken(java.lang.String x)
XSToken()

Method Summary

public org.eclipse.wst.xml.xpath2.api.ResultSequenceconstructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)
     Creates a new ResultSequence consisting of the extractable String in the supplied ResultSequence
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
protected booleanisSatisfiesConstraints(java.lang.String srcString)
    
public java.lang.Stringstring_type()
     Retrieves the datatype's full pathname
public java.lang.Stringtype_name()
     Retrieves the datatype's name

Constructor Detail

XSToken

public XSToken(java.lang.String x)

Initialises using the supplied String


XSToken

public XSToken()

Initialises to null


Methods Detail

constructor

public org.eclipse.wst.xml.xpath2.api.ResultSequence constructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)

Creates a new ResultSequence consisting of the extractable String in the supplied ResultSequence

Parameters

arg - The ResultSequence from which to extract the String

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - New ResultSequence consisting of the supplied String

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


getTypeDefinition

public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition


isSatisfiesConstraints

protected boolean isSatisfiesConstraints(java.lang.String srcString)

Parameters

srcString

Returns

boolean


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "xs:token" which is the datatype's full pathname


type_name

public java.lang.String type_name()

Retrieves the datatype's name

Returns

java.lang.String - "token" which is the datatype's name