Package org.eclipse.wst.xml.xpath2.processor.internal.types
public class TextType extends org.eclipse.wst.xml.xpath2.processor.internal.types.NodeTypeA 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.String | getStringValue() Retrieves a String representation of the actual value stored |
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition | getTypeDefinition() |
public boolean | isID() Will always return false; |
public boolean | isIDREF() |
public org.eclipse.wst.xml.xpath2.processor.internal.types.QName | node_name() Unsupported method for this nodetype. |
public java.lang.String | string_type() Retrieves the datatype's name |
public org.eclipse.wst.xml.xpath2.api.ResultSequence | typed_value() Creates a new ResultSequence consisting of the Text value stored |
Constructor Detail |
public TextType(org.w3c.dom.Text v
,
org.eclipse.wst.xml.xpath2.api.typesystem.TypeModel tm)
Initialises using the supplied parameters
Methods Detail |
public java.lang.String getStringValue()
Retrieves a String representation of the actual value stored
java.lang.String
- String representation of the actual value stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition getTypeDefinition()
org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition
public boolean isID()
Will always return false;
boolean
public boolean isIDREF()
boolean
public org.eclipse.wst.xml.xpath2.processor.internal.types.QName node_name()
Unsupported method for this nodetype.
org.eclipse.wst.xml.xpath2.processor.internal.types.QName
- null (no user defined name for this node gets defined)
public java.lang.String string_type()
Retrieves the datatype's name
java.lang.String
- "text" which is the datatype's name
public org.eclipse.wst.xml.xpath2.api.ResultSequence typed_value()
Creates a new ResultSequence consisting of the Text value stored
org.eclipse.wst.xml.xpath2.api.ResultSequence
- New ResultSequence consisting of the Text value stored