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


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



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

Constructor Summary

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

Method Summary

public java.lang.StringgetStringValue()
     Retrieves a String representation of the document 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()
     Retrieves the name of the 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 document being stored
public org.w3c.dom.Documentvalue()
     Retrieves the actual document being represented

Constructor Detail

DocType

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

Initialises according to the supplied parameters


Methods Detail

getStringValue

public java.lang.String getStringValue()

Retrieves a String representation of the document being stored

Returns

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

Retrieves the name of the node

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.QName - QName representation of the name of the node


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "document" 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 document being stored

Returns

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


value

public org.w3c.dom.Document value()

Retrieves the actual document being represented

Returns

org.w3c.dom.Document - Actual document being represented