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


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



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

Constructor Summary

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

Method Summary

public java.lang.StringgetStringValue()
     Retrieves a String representation of the actual processing instruction 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()
     Constructs the node's name
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 processing instruction stored
public org.w3c.dom.ProcessingInstructionvalue()
     Retrieves the actual processing instruction this node represents

Constructor Detail

PIType

public PIType(org.w3c.dom.ProcessingInstruction 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 actual processing instruction stored

Returns

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

Constructs the node's name

Returns

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


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "processing-instruction" 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 processing instruction stored

Returns

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


value

public org.w3c.dom.ProcessingInstruction value()

Retrieves the actual processing instruction this node represents

Returns

org.w3c.dom.ProcessingInstruction - Actual processing instruction this node represents