Package com.sun.xml.xsom.util
Class TypeClosure
- java.lang.Object
-
- com.sun.xml.xsom.util.TypeSet
-
- com.sun.xml.xsom.util.TypeClosure
-
public class TypeClosure extends TypeSet
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
Constructors Constructor Description TypeClosure(TypeSet typeSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(XSType type)
Return true if this TypeSet contains the specified type.-
Methods inherited from class com.sun.xml.xsom.util.TypeSet
intersection, union
-
-
-
-
Constructor Detail
-
TypeClosure
public TypeClosure(TypeSet typeSet)
-
-