com.crystaldecisions.sdk.occa.report.exportoptions
Class XMLExportFormats

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.exportoptions.XMLExportFormats
All Implemented Interfaces:
IClone, java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class XMLExportFormats
extends ReportSDKVector

Contains a collection of XMLExportFormat objects.

See Also:
Serialized Form

Constructor Summary
XMLExportFormats()
           
 
Method Summary
 void add(int index, XMLExportFormat element)
          Adds an XMLExportFormat object to the collection at the specified index.
 boolean add(XMLExportFormat o)
          Adds an XMLExportFormat object to the collection.
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 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.
 int getDefaultExportSelection()
           Gets the zero-based index in the XMLExportFormats collection of the default XML export format set in the report.
 IXMLExportFormat getXMLExportFormat(int index)
           Gets an XMLExportFormat object at the specified index.
 boolean hasContent(XMLExportFormats _xmlExportFormats)
           
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
          For internal use only.
 XMLExportFormat remove(int index)
           
 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.
 XMLExportFormat set(int index, XMLExportFormat element)
           
 void setDefaultExportSelection(int defaultExportSelection)
          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.ReportSDKVector
addElement, addNullElement, elementAt, insertElementAt, removeAllElements
 
Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList
copyTo, findIndexOf, hasContent
 
Methods inherited from class java.util.ArrayList
addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, 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, removeAll, retainAll, 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, removeAll, retainAll, subList
 

Constructor Detail

XMLExportFormats

public XMLExportFormats()
Method Detail

getXMLExportFormat

public IXMLExportFormat getXMLExportFormat(int index)

Gets an XMLExportFormat object at the specified index.

Returns:
The IXMLExportFormat object that was stored at the specified index.

getDefaultExportSelection

public int getDefaultExportSelection()

Gets the zero-based index in the XMLExportFormats collection of the default XML export format set in the report.

Returns:
A Integer that specifies the index of the default XML export format.

setDefaultExportSelection

public void setDefaultExportSelection(int defaultExportSelection)

For internal use only.


createMember

public 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.

Overrides:
createMember in class ClonableList

endElement

public void endElement(java.lang.String eleName,
                       java.util.Map objState)

For internal use only.

Overrides:
endElement in class ClonableList

readElement

public void readElement(java.lang.String eleName,
                        java.lang.String sVal,
                        org.xml.sax.Attributes attrs,
                        java.util.Map objState)

For internal use only.

Overrides:
readElement in class ClonableList

save

public void save(XMLWriter writer,
                 XMLSerializationContext ctxt)
          throws java.io.IOException

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

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

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)

For internal use only.

Overrides:
startElement in class ClonableList

add

public boolean add(XMLExportFormat o)

Adds an XMLExportFormat object to the collection.

Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class ReportSDKVector
Parameters:
o - object to be added into the collection.
Returns:
True if this collection changed as a result of the call.
Throws:
java.lang.ClassCastException - class of the specified element that prevents it from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this collection does not support null elements.

add

public void add(int index,
                XMLExportFormat element)

Adds an XMLExportFormat object to the collection at the specified index.

Specified by:
add in interface java.util.List
Overrides:
add in class ReportSDKVector
Parameters:
element - object to be added into the collection.
index - index at which the specified element is to be inserted.
Throws:
java.lang.ClassCastException - class of the specified element that prevents it from being added to this collection.
java.lang.NullPointerException - if the specified element is null and this collection does not support null elements.

set

public XMLExportFormat set(int index,
                           XMLExportFormat element)
Specified by:
set in interface java.util.List
Overrides:
set in class java.util.ArrayList

clone

public java.lang.Object clone(boolean deepClone)
Overrides:
clone in class ClonableList

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)
Overrides:
copyTo in class ClonableList

hasContent

public boolean hasContent(XMLExportFormats _xmlExportFormats)

remove

public XMLExportFormat remove(int index)
Specified by:
remove in interface java.util.List
Overrides:
remove in class java.util.ArrayList