public class Cmaps extends Object implements Serializable
| Constructor and Description | 
|---|
| Cmaps() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCmap(Cmap vCmap) | 
| void | addCmap(int index,
       Cmap vCmap) | 
| Enumeration<Cmap> | enumerateCmap()Method enumerateCmap. | 
| boolean | equals(Object obj)Overrides the java.lang.Object.equals method. | 
| Cmap[] | getCmap()Method getCmap.Returns the contents of the collection in an
 Array. | 
| Cmap | getCmap(int index)Method getCmap. | 
| List<Cmap> | getCmapCollection()Method getCmapCollection.Returns a reference to '_cmapList'. | 
| int | getCmapCount()Method getCmapCount. | 
| int | hashCode()Overrides the java.lang.Object.hashCode method. | 
| boolean | isValid()Method isValid. | 
| Iterator<Cmap> | iterateCmap()Method iterateCmap. | 
| void | marshal(ContentHandler handler) | 
| void | marshal(Writer out) | 
| void | removeAllCmap() | 
| boolean | removeCmap(Cmap vCmap)Method removeCmap. | 
| Cmap | removeCmapAt(int index)Method removeCmapAt. | 
| void | setCmap(Cmap[] vCmapArray) | 
| void | setCmap(int index,
       Cmap vCmap) | 
| void | setCmap(List<Cmap> vCmapList)Sets the value of '_cmapList' by copying the given Vector. | 
| void | setCmapCollection(List<Cmap> cmapList)Deprecated.   | 
| static Cmaps | unmarshal(Reader reader)Method unmarshal. | 
| void | validate() | 
public void addCmap(Cmap vCmap) throws IndexOutOfBoundsException
vCmap - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void addCmap(int index,
                    Cmap vCmap)
             throws IndexOutOfBoundsException
index - vCmap - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Enumeration<Cmap> enumerateCmap()
public boolean equals(Object obj)
public Cmap getCmap(int index) throws IndexOutOfBoundsException
index - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic Cmap[] getCmap()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Cmap> getCmapCollection()
public int getCmapCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<Cmap> iterateCmap()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler - IOException - if an IOException occurs during
 marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingpublic void removeAllCmap()
public boolean removeCmap(Cmap vCmap)
vCmap - public Cmap removeCmapAt(int index)
index - public void setCmap(int index,
                    Cmap vCmap)
             throws IndexOutOfBoundsException
index - vCmap - IndexOutOfBoundsException - if the index
 given is outside the bounds of the collectionpublic void setCmap(Cmap[] vCmapArray)
vCmapArray - public void setCmap(List<Cmap> vCmapList)
vCmapList - the Vector to copy.public void setCmapCollection(List<Cmap> cmapList)
cmapList - the Vector to set.public static Cmaps unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
 null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemapublic void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
 object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.