org.gxos.schema
Class Keys

java.lang.Object
  |
  +--org.gxos.schema.Keys
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Keys()
           
 
Method Summary
 void addKey(int index, Key vKey)
           
 void addKey(Key vKey)
           
 java.util.Enumeration enumerateKey()
           
 Key[] getKey()
           
 Key getKey(int index)
           
 int getKeyCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllKey()
           
 Key removeKey(int index)
           
 void setKey(int index, Key vKey)
           
 void setKey(Key[] keyArray)
           
static Keys unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Keys

public Keys()
Method Detail

addKey

public void addKey(Key vKey)
            throws java.lang.IndexOutOfBoundsException
Parameters:
vKey -  

addKey

public void addKey(int index,
                   Key vKey)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vKey -  

enumerateKey

public java.util.Enumeration enumerateKey()

getKey

public Key getKey(int index)
           throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getKey

public Key[] getKey()

getKeyCount

public int getKeyCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAllKey

public void removeAllKey()

removeKey

public Key removeKey(int index)
Parameters:
index -  

setKey

public void setKey(int index,
                   Key vKey)
            throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vKey -  

setKey

public void setKey(Key[] keyArray)
Parameters:
keyArray -  

unmarshal

public static Keys unmarshal(java.io.Reader reader)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException