org.gxos.schema.papi
Class Names

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

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

See Also:
Serialized Form

Constructor Summary
Names()
           
 
Method Summary
 void addName(int index, Name vName)
           
 void addName(Name vName)
           
 java.util.Enumeration enumerateName()
           
 Name[] getName()
           
 Name getName(int index)
           
 int getNameCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllName()
           
 Name removeName(int index)
           
 void setName(int index, Name vName)
           
 void setName(Name[] nameArray)
           
static Names 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

Names

public Names()
Method Detail

addName

public void addName(Name vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vName -  

addName

public void addName(int index,
                    Name vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vName -  

enumerateName

public java.util.Enumeration enumerateName()

getName

public Name getName(int index)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getName

public Name[] getName()

getNameCount

public int getNameCount()

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 -  

removeAllName

public void removeAllName()

removeName

public Name removeName(int index)
Parameters:
index -  

setName

public void setName(int index,
                    Name vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vName -  

setName

public void setName(Name[] nameArray)
Parameters:
nameArray -  

unmarshal

public static Names 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