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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.exportoptions.XMLExportFormatOptions
All Implemented Interfaces:
IExportFormatOptions, IXMLExportFormatOptions, IClone

public class XMLExportFormatOptions
extends java.lang.Object
implements IXMLExportFormatOptions

This object is used to specify the XML format of Export. When possible, use the IXMLExportFormatOptions interface.


Constructor Summary
XMLExportFormatOptions()
           
XMLExportFormatOptions(int xmlExportSelection)
           
 
Method Summary
 void checkValidity(java.util.Locale locale)
          Verifies that the export options are valid for a given locale.
 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)
           
 void endElement(java.lang.String eleName, java.util.Map objState)
           
 int getXMLExportSelection()
           Gets the zero-based index in the XMLExportFormats collection of the XML format to export the report to.
 boolean hasContent(java.lang.Object obj)
           
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
           
 void save(XMLWriter writer, java.lang.String sTag, XMLSerializationContext ctxt)
           
 void save(XMLWriter writer, XMLSerializationContext ctxt)
           
 void saveContents(XMLWriter writer, XMLSerializationContext ctxt)
           
 void setXMLExportSelection(int xmlExportSelection)
           Sets the zero-based index in the XMLExportFormats collection of the XML format to export the report to.
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLExportFormatOptions

public XMLExportFormatOptions()

XMLExportFormatOptions

public XMLExportFormatOptions(int xmlExportSelection)
Method Detail

getXMLExportSelection

public int getXMLExportSelection()
Description copied from interface: IXMLExportFormatOptions

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

Specified by:
getXMLExportSelection in interface IXMLExportFormatOptions
Returns:
XML Export Secondary Option

setXMLExportSelection

public void setXMLExportSelection(int xmlExportSelection)
Description copied from interface: IXMLExportFormatOptions

Sets the zero-based index in the XMLExportFormats collection of the XML format to export the report to.

Specified by:
setXMLExportSelection in interface IXMLExportFormatOptions
Parameters:
xmlExportSelection - the xml export selection

createMember

public java.lang.Object createMember(java.lang.String eleName,
                                     org.xml.sax.Attributes attrs,
                                     XMLSerializationContext ctxt,
                                     java.util.Map objState,
                                     boolean[] bLoaded)

endElement

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

readElement

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

save

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

save

public void save(XMLWriter writer,
                 java.lang.String sTag,
                 XMLSerializationContext ctxt)
          throws java.io.IOException
Throws:
java.io.IOException

saveContents

public void saveContents(XMLWriter writer,
                         XMLSerializationContext ctxt)
                  throws java.io.IOException
Throws:
java.io.IOException

startElement

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

clone

public java.lang.Object clone(boolean deepClone)

copyTo

public void copyTo(java.lang.Object destObject,
                   boolean deepCopy)

hasContent

public boolean hasContent(java.lang.Object obj)

checkValidity

public void checkValidity(java.util.Locale locale)
                   throws ReportSDKException
Description copied from interface: IExportFormatOptions
Verifies that the export options are valid for a given locale.

Specified by:
checkValidity in interface IExportFormatOptions
Parameters:
locale - the locale the options are being checked for
Throws:
ReportSDKException - if the options are not valid