org.apache.xerces.impl.xs
Interface XSTypeDecl

All Superinterfaces:
XSObject, XSTypeDefinition
All Known Subinterfaces:
XSSimpleType
All Known Implementing Classes:
XSComplexTypeDecl, XSSimpleTypeDecl

public interface XSTypeDecl
extends XSTypeDefinition

The XML representation for a type declaration schema component is a or element information item

Version:
$Id: XSTypeDecl.java,v 1.5 2002/05/16 18:25:54 sandygao Exp $
Author:
Elena Litani, IBM

Field Summary
 
Fields inherited from interface org.apache.xerces.impl.xs.psvi.XSTypeDefinition
COMPLEX_TYPE, SIMPLE_TYPE
 
Method Summary
 boolean derivedFrom(java.lang.String ancestorNS, java.lang.String ancestorName)
          Experimental: return whether this type is derived from a type of the given namespace name and type name.
 boolean derivedFrom(XSTypeDefinition ancestor)
          Experimental: return whether this type is derived from a given type.
 
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSTypeDefinition
getBaseType, getFinal, getIsAnonymous, getIsFinal, getTypeCategory
 
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject
getName, getNamespace, getType
 

Method Detail

derivedFrom

public boolean derivedFrom(XSTypeDefinition ancestor)
Experimental: return whether this type is derived from a given type.


derivedFrom

public boolean derivedFrom(java.lang.String ancestorNS,
                           java.lang.String ancestorName)
Experimental: return whether this type is derived from a type of the given namespace name and type name.



Copyright © 1999-2002 Apache XML Project. All Rights Reserved.