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


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



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

Constructor Summary

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

Method Summary

public java.lang.StringgetStringValue()
     Retrieves a String representation of the comment being stored
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
public booleanisID()
    
public booleanisIDREF()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.QNamenode_name()
     Unsupported method for this node.
public java.lang.Stringstring_type()
     Retrieves the datatype's full pathname
public org.eclipse.wst.xml.xpath2.api.ResultSequencetyped_value()
     Creates a new ResultSequence consisting of the comment stored

Constructor Detail

CommentType

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

Initialise according to the supplied parameters


Methods Detail

getStringValue

public java.lang.String getStringValue()

Retrieves a String representation of the comment being stored

Returns

java.lang.String - String representation of the comment being 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()

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 node.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.QName - null


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "comment" which is the datatype's full pathname


typed_value

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

Creates a new ResultSequence consisting of the comment stored

Returns

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