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

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.exportoptions.XMLExportFormat
All Implemented Interfaces:
IXMLExportFormat

public class XMLExportFormat
extends java.lang.Object
implements IXMLExportFormat

Author:
azhang

Constructor Summary
XMLExportFormat()
           
XMLExportFormat(java.lang.String name, java.lang.String description, java.lang.String fileExtension, boolean exportBlobField)
           
 
Method Summary
 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)
           
 java.lang.String getDescription()
           Gets the description of the XML export format.
 boolean getExportBlobField()
           Gets a value indicating whether to export images and binary data fields (BLOBs) from the report.
 java.lang.String getFileExtension()
           Gets the file extension the report is saved as when exporting to the XML export format.
 java.lang.String getName()
           Gets the name of the XML export format.
 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 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

XMLExportFormat

public XMLExportFormat()

XMLExportFormat

public XMLExportFormat(java.lang.String name,
                       java.lang.String description,
                       java.lang.String fileExtension,
                       boolean exportBlobField)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IXMLExportFormat

Gets the name of the XML export format.

Specified by:
getName in interface IXMLExportFormat
Returns:
A String object that contains the name of the XML export format.

getDescription

public java.lang.String getDescription()
Description copied from interface: IXMLExportFormat

Gets the description of the XML export format.

Specified by:
getDescription in interface IXMLExportFormat
Returns:
A String object that contains the description of the XML export format.

getFileExtension

public java.lang.String getFileExtension()
Description copied from interface: IXMLExportFormat

Gets the file extension the report is saved as when exporting to the XML export format.

Specified by:
getFileExtension in interface IXMLExportFormat
Returns:
A String object that contains the file extension of the report is saved as.

getExportBlobField

public boolean getExportBlobField()
Description copied from interface: IXMLExportFormat

Gets a value indicating whether to export images and binary data fields (BLOBs) from the report.

Specified by:
getExportBlobField in interface IXMLExportFormat
Returns:
true if images and binary data fields are exported, and false otherwise.

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)