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()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Keys
public Keys()
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