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


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



public class AnyType
extends java.lang.Object
Common base for every type

Field Summary

protected static javax.xml.datatype.DatatypeFactory_datatypeFactory
    

Constructor Summary

AnyType()

Method Summary

public booleanempty()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyTypefirst()
    
public java.lang.ObjectfirstValue()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypegetItemType()
    
public java.lang.ObjectgetNativeValue()
    
public java.lang.StringgetStringValue()
     Retrieves the datatype's text representation
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetTypeDefinition()
     Returns the "new style" of TypeDefinition for this item.
public org.eclipse.wst.xml.xpath2.api.Itemitem(int index)
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypeitemType(int index)
    
public java.util.Iteratoriterator()
    
public org.eclipse.wst.xml.xpath2.api.typesystem.ItemTypesequenceType()
    
public intsize()
    
public java.lang.Stringstring_type()
     Retrieves the datatype's full pathname
public java.lang.Stringstring_value()
    
public java.lang.Objectvalue(int index)
    

Field Detail

_datatypeFactory

protected static javax.xml.datatype.DatatypeFactory _datatypeFactory


Constructor Detail

AnyType

public AnyType()


Methods Detail

empty

public boolean empty()

Returns

boolean


first

public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType first()

Returns

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


firstValue

public java.lang.Object firstValue()

Returns

java.lang.Object


getItemType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType getItemType()

Returns

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


getNativeValue

public java.lang.Object getNativeValue()

Returns

java.lang.Object


getStringValue

public java.lang.String getStringValue()

Retrieves the datatype's text representation

Returns

java.lang.String - Value as a string


getTypeDefinition

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

Returns the "new style" of TypeDefinition for this item.

Returns

org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition - Type definition (possibly backed by a schema type)


item

public org.eclipse.wst.xml.xpath2.api.Item item(int index)

Parameters

index

Returns

org.eclipse.wst.xml.xpath2.api.Item


itemType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType itemType(int index)

Parameters

index

Returns

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


iterator

public java.util.Iterator iterator()

Returns

java.util.Iterator


sequenceType

public org.eclipse.wst.xml.xpath2.api.typesystem.ItemType sequenceType()

Returns

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


size

public int size()

Returns

int


string_type

public java.lang.String string_type()

Retrieves the datatype's full pathname

Returns

java.lang.String - Datatype's full pathname


string_value

public java.lang.String string_value()

Returns

java.lang.String


value

public java.lang.Object value(int index)

Parameters

index

Returns

java.lang.Object