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


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



public class XSAnyURI
extends org.eclipse.wst.xml.xpath2.processor.internal.types.CtrType
Represents a Universal Resource Identifier (URI) reference

Constructor Summary

XSAnyURI(java.lang.String x)
XSAnyURI()

Method Summary

public org.eclipse.wst.xml.xpath2.api.ResultSequenceconstructor(org.eclipse.wst.xml.xpath2.api.ResultSequence arg)
     Creation of a result sequence consisting of a URI from a previous result sequence.
public booleaneq(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext)
     Equality comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)
public java.lang.StringgetStringValue()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
    
public booleangt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext context)
     Greater than comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)
public booleanlt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext context)
     Less than comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)
public java.lang.Stringstring_type()
     Retrieve full type pathname of this datatype
public java.lang.Stringstring_value()
     Transforms and retrieves the URI value of this URI datatype in String format
public java.lang.Stringtype_name()
     Retrieve type name of this datatype

Constructor Detail

XSAnyURI

public XSAnyURI(java.lang.String x)

Arity 1 Constructor


XSAnyURI

public XSAnyURI()

Arity 0 Constructor. Initiates URI to null.


Methods Detail

constructor

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

Creation of a result sequence consisting of a URI from a previous result sequence.

Parameters

arg - previous result sequence

Returns

org.eclipse.wst.xml.xpath2.api.ResultSequence - new result sequence consisting of the URI supplied

Throws:

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


eq

public boolean eq(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext dynamicContext)

Equality comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)

Parameters

arg - The representation to compare with

dynamicContext

Returns

boolean - True if the two representation are of the same String. False otherwise

Throws:

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


getStringValue

public java.lang.String getStringValue()

Returns

java.lang.String


getTypeDefinition

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

Returns

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


gt

public boolean gt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext context)

Greater than comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)

Parameters

arg

context

Returns

boolean

Throws:

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


lt

public boolean lt(org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType arg , org.eclipse.wst.xml.xpath2.api.DynamicContext context)

Less than comparison between this and the supplied representation which must be of type xs:anyURI (or, by promotion of this, xs:string)

Parameters

arg

context

Returns

boolean

Throws:

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


string_type

public java.lang.String string_type()

Retrieve full type pathname of this datatype

Returns

java.lang.String - "xs:anyURI", the full type pathname of this datatype


string_value

public java.lang.String string_value()

Transforms and retrieves the URI value of this URI datatype in String format

Returns

java.lang.String - the URI value held by this instance of the URI datatype as a String


type_name

public java.lang.String type_name()

Retrieve type name of this datatype

Returns

java.lang.String - "anyURI", the type name of this datatype