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


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



public class TextType
extends org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType
A representation of the TextType datatype

Constructor Summary

TextType(org.w3c.dom.Text v , org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm)

Method Summary

public java.lang.StringgetStringValue()
     Retrieves a String representation of the actual value stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
public booleanisID()
     Will always return false;
public booleanisIDREF()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.QNamenode_name()
     Unsupported method for this nodetype.
public java.lang.Stringstring_type()
     Retrieves the datatype's name
public org.eclipse.wst.xml.xpath2.api.ResultSequencetyped_value()
     Creates a new ResultSequence consisting of the Text value stored

Constructor Detail

TextType

public TextType(org.w3c.dom.Text v , org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm)

Initialises using the supplied parameters


Methods Detail

getStringValue

public java.lang.String getStringValue()

Retrieves a String representation of the actual value stored

Returns

java.lang.String - String representation of the actual value stored


getTypeDefinition

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

Returns

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


isID

public boolean isID()

Will always return false;

Returns

boolean


isIDREF

public boolean isIDREF()

Returns

boolean


node_name

public org.eclipse.wst.xml.xpath2.processor.internal.types.QName node_name()

Unsupported method for this nodetype.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.QName - null (no user defined name for this node gets defined)


string_type

public java.lang.String string_type()

Retrieves the datatype's name

Returns

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


typed_value

public org.eclipse.wst.xml.xpath2.api.ResultSequence typed_value()

Creates a new ResultSequence consisting of the Text value stored

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - New ResultSequence consisting of the Text value stored