Top Description Fields Constructors Methods
com.sun.xml.xsom.util

public Class SimpleTypeSet

extends TypeSet
Class Inheritance
Imports
java.util.Set, com.sun.xml.xsom.XSType

A very simple TypeSet. The contains method returns true if the set explicitly contains an instance of the specified XSType.
Author
Ryan Shoemaker, Sun Microsystems, Inc.

Field Summary

Modifier and TypeField and Description
private final Set<E>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
contains(XSType type)

Implements abstract com.sun.xml.xsom.util.TypeSet.contains.

Return true if this TypeSet contains the specified type.

Inherited from com.sun.xml.xsom.util.TypeSet:
intersectionunion

Field Detail

typeSetback to summary
private final Set<E> typeSet

Constructor Detail

SimpleTypeSetback to summary
public SimpleTypeSet(Set<E> s)

Method Detail

containsback to summary
public boolean contains(XSType type)

Implements abstract com.sun.xml.xsom.util.TypeSet.contains.

Doc from com.sun.xml.xsom.util.TypeSet.contains.

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.