com.crystaldecisions.sdk.occa.report.data
Class Groups

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by com.crystaldecisions.sdk.occa.report.lib.ClonableList
                  extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
                      extended by com.crystaldecisions.sdk.occa.report.lib.ReportSDKVectorInternal
                          extended by com.crystaldecisions.sdk.occa.report.data.Groups
All Implemented Interfaces:
IClone, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class Groups
extends ReportSDKVectorInternal
implements IClone

This object defines a Groups collection object. The Groups collection contains an array of Group Objects. The order in which the groups appear in the array is important as it represents how the data is grouped in the report. The first group in the array (.get(0)) is the outermost group in the report; similarly, the last group in the array (.get( groups.size - 1)) is the innermost group in the report.

See Also:
Serialized Form

Constructor Summary
Groups()
           
Groups(Groups src)
           
 
Method Summary
 void adjustGroupIndex()
          For internal use only
 java.lang.Object createMember(java.lang.String eleName, org.xml.sax.Attributes attrs, XMLSerializationContext ctxt, java.util.Map objState, boolean[] bLoaded)
          For internal use only.
 void endElement(java.lang.String eleName, java.util.Map objState)
          For internal use only.
 IGroup getGroup(int index)
          Returns the IGroup interface for the specified group.
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
          For internal use only.
 void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt)
          For internal use only.
 void save(XMLWriter writer, XMLSerializationContext ctxt)
          For internal use only.
 void saveContents(XMLWriter writer, XMLSerializationContext ctxt)
          For internal use only.
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
          For internal use only.
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKVectorInternal
add, add, addAll, addAll, addElement, addEventListener, clear, remove, remove, removeAll, removeAllElements, retainAll, set
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
addNullElement, elementAt, insertElementAt
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList
clone, copyTo, copyTo, findIndexOf, hasContent
 
Methods inherited from class java.util.ArrayList
clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, subList
 

Constructor Detail

Groups

public Groups(Groups src)

Groups

public Groups()
Method Detail

createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)
Description copied from class: ClonableList
For internal use only.

Overrides:
createMember in class ClonableList

endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)
Description copied from class: ClonableList
For internal use only.

Overrides:
endElement in class ClonableList

getGroup

public IGroup getGroup(int index)

Returns the IGroup interface for the specified group.

Parameters:
index - The index location of the group as an int.
Returns:
The IGroup interface for the specified group.

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)
Description copied from class: ClonableList
For internal use only.

Overrides:
readElement in class ClonableList

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ClonableList
For internal use only.

Overrides:
save in class ClonableList
Throws:
java.io.IOException

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Description copied from class: ClonableList
For internal use only.

Overrides:
save in class ClonableList
Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException
Description copied from class: ClonableList
For internal use only.

Overrides:
saveContents in class ClonableList
Throws:
java.io.IOException

startElement

public void startElement(java.lang.String eleName,
                         java.util.Map objState,
                         org.xml.sax.Attributes attrs)
Description copied from class: ClonableList
For internal use only.

Overrides:
startElement in class ClonableList

adjustGroupIndex

public void adjustGroupIndex()
For internal use only