org.exolab.castor.xml.schema
Class FacetList

java.lang.Object
  extended byorg.exolab.castor.xml.schema.FacetList
All Implemented Interfaces:
java.io.Serializable

public class FacetList
extends java.lang.Object
implements java.io.Serializable

A list for maintaining facets

Version:
$Revision: 1.5 $ $Date: 2001/08/27 15:48:44 $
Author:
Keith Visco
See Also:
Serialized Form

Constructor Summary
FacetList()
          Creates a new FacetList
 
Method Summary
 void add(Facet facet)
          Adds the given Facet to this list
 java.util.Enumeration enumerate()
          Returns an Enumeration of the Facets in this list
 Facet get(int index)
          Returns the facet at the given index
 void remove(Facet facet)
          Removes the given Facet from this list
 int size()
          Returns the number of Facets in this list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetList

public FacetList()
Creates a new FacetList

Method Detail

add

public void add(Facet facet)
Adds the given Facet to this list

Parameters:
facet - the facet to add

get

public Facet get(int index)
Returns the facet at the given index

Parameters:
index - the index of the Facet to return

remove

public void remove(Facet facet)
Removes the given Facet from this list

Parameters:
facet - the Facet to remove

size

public int size()
Returns the number of Facets in this list

Returns:
the number of Facets in this list

enumerate

public java.util.Enumeration enumerate()
Returns an Enumeration of the Facets in this list

Returns:
an Enumeration of the Facets in this list


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com