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


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



public class TypeDefinition
extends 


Field Summary

public static shortDERIVATION_EXTENSION
    
public static shortDERIVATION_LIST
    
public static shortDERIVATION_NONE
    
public static shortDERIVATION_RESTRICTION
    
public static shortDERIVATION_SUBSTITUTION
    
public static shortDERIVATION_UNION
    

Method Summary

public booleanderivedFrom(java.lang.String namespace , java.lang.String name , short derivationMethod)
    
public booleanderivedFromType(org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition ancestorType , short derivationMethod)
    
public org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinitiongetBaseType()
    
public java.lang.StringgetName()
    
public java.lang.StringgetNamespace()
    
public java.lang.ClassgetNativeType()
    
public java.util.ListgetSimpleTypes(org.w3c.dom.Attr attr)
    
public java.util.ListgetSimpleTypes(org.w3c.dom.Element attr)
    

Field Detail

DERIVATION_EXTENSION

public static short DERIVATION_EXTENSION


DERIVATION_LIST

public static short DERIVATION_LIST


DERIVATION_NONE

public static short DERIVATION_NONE


DERIVATION_RESTRICTION

public static short DERIVATION_RESTRICTION


DERIVATION_SUBSTITUTION

public static short DERIVATION_SUBSTITUTION


DERIVATION_UNION

public static short DERIVATION_UNION


Methods Detail

derivedFrom

public boolean derivedFrom(java.lang.String namespace , java.lang.String name , short derivationMethod)

Parameters

namespace

name

derivationMethod

Returns

boolean


derivedFromType

public boolean derivedFromType(org.eclipse.wst.xml.xpath2.api.typesystem.TypeDefinition ancestorType , short derivationMethod)

Parameters

ancestorType

derivationMethod

Returns

boolean


getBaseType

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

Returns

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


getName

public java.lang.String getName()

Returns

java.lang.String


getNamespace

public java.lang.String getNamespace()

Returns

java.lang.String


getNativeType

public java.lang.Class getNativeType()

Returns

java.lang.Class


getSimpleTypes

public java.util.List getSimpleTypes(org.w3c.dom.Attr attr)

Parameters

attr

Returns

java.util.List


getSimpleTypes

public java.util.List getSimpleTypes(org.w3c.dom.Element attr)

Parameters

attr

Returns

java.util.List