Package com.sun.xml.xsom.util
Class TypeClosure
java.lang.Object
com.sun.xml.xsom.util.TypeSet
com.sun.xml.xsom.util.TypeClosure
Perform a transitive closure operation on a type to determine if it
belongs to this set.
The contains method returns true if the TypeSet contains an instance
of the specified XSType or any of the base types of the XSType.
- Author:
- Ryan Shoemaker, Sun Microsystems, Inc.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.xml.xsom.util.TypeSet
intersection, union
-
Constructor Details
-
TypeClosure
-
-
Method Details
-
contains
Description copied from class:TypeSet
Return true if this TypeSet contains the specified type. Concrete implementations of this method determine what it means for the TypeSet to "contain" a type.
-