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


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



public class XSNCName
extends org.eclipse.wst.xml.xpath2.processor.internal.types.XSName
A representation of the NCName datatype

Constructor Summary

XSNCName(java.lang.String x)
XSNCName()

Method Summary

public org.eclipse.wst.xml.xpath2.api.ResultSequenceconstructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)
     Creates a new ResultSequence consisting of the extractable NCName within the supplied ResultSequence
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
protected booleanisConstraintSatisfied(java.lang.String strValue)
    
public java.lang.Stringstring_type()
     Retrieves the datatype's full pathname
public java.lang.Stringtype_name()
     Retrieves the datatype's name

Constructor Detail

XSNCName

public XSNCName(java.lang.String x)

Initialises using the supplied String


XSNCName

public XSNCName()

Initialises to null


Methods Detail

constructor

public org.eclipse.wst.xml.xpath2.api.ResultSequence constructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)

Creates a new ResultSequence consisting of the extractable NCName within the supplied ResultSequence

Parameters

arg - The ResultSequence from which to extract the NCName

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - New ResultSequence consisting of the NCName supplied

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


getTypeDefinition

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

Returns

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


isConstraintSatisfied

protected boolean isConstraintSatisfied(java.lang.String strValue)

Parameters

strValue

Returns

boolean


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - "xs:NCName" which is the datatype's full pathname


type_name

public java.lang.String type_name()

Retrieves the datatype's name

Returns

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