com.crystaldecisions.sdk.occa.report.definition
Class PageMarginConditionFormulas

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.PageMarginConditionFormulas
All Implemented Interfaces:
IClone

public class PageMarginConditionFormulas
extends java.lang.Object

This collection is used to specify the page margin condition formulas for the PageMargin object. All margins are measured in twips.


Constructor Summary
PageMarginConditionFormulas()
           
PageMarginConditionFormulas(PageMarginConditionFormulas src)
           
 
Method Summary
 void clear()
          Removes all of the formulas.
 java.lang.Object clone(boolean deepClone)
           
 void copyTo(java.lang.Object destObject, boolean deepCopy)
           
 int count()
           Returns the number of objects in the collection.
 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.
 IConditionFormula get(java.lang.Object key)
          Deprecated.  
 IConditionFormula getFormula(PageMarginConditionFormulaType type)
           Returns the condition formula corresponding to the specified type.
 boolean hasContent(java.lang.Object objFormulas)
           
 void put(java.lang.Object key, IConditionFormula newFormula)
          Deprecated.  
 void readElement(java.lang.String eleName, java.lang.String sVal, org.xml.sax.Attributes attrs, java.util.Map objState)
          (non-Javadoc)
 void remove(PageMarginConditionFormulaType type)
           Removes the condition formula corresponding to the specified type.
 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)
           
 void setFormula(PageMarginConditionFormulaType type, IConditionFormula newFormula)
           Sets the condition formula corresponding to the specified type.
 void startElement(java.lang.String eleName, java.util.Map objState, org.xml.sax.Attributes attrs)
           For internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageMarginConditionFormulas

public PageMarginConditionFormulas(PageMarginConditionFormulas src)

PageMarginConditionFormulas

public PageMarginConditionFormulas()
Method Detail

getFormula

public IConditionFormula getFormula(PageMarginConditionFormulaType type)

Returns the condition formula corresponding to the specified type.

Parameters:
type - A PageMarginConditionFormulaType object that specifies the type of the desired condition formula.
Returns:
An IConditionFormula object corresponding to the specified type.

readElement

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

See Also:
com.crystaldecisions.xml.serialization.IXMLSerializable#readElement(java.lang.String, java.lang.String, org.xml.sax.Attributes, java.util.Map)

remove

public void remove(PageMarginConditionFormulaType type)

Removes the condition formula corresponding to the specified type.

Parameters:
type - A PageMarginConditionFormulaType that specifies the type of condition formula to be removed.

setFormula

public void setFormula(PageMarginConditionFormulaType type,
                       IConditionFormula newFormula)

Sets the condition formula corresponding to the specified type.

Parameters:
type - A PageMarginConditionFormulaType object that specifies the type of the condition formula.
newFormula - The new condition formula.

count

public int count()

Returns the number of objects in the collection.


clear

public void clear()

Removes all of the formulas.


clone

public java.lang.Object clone(boolean deepClone)

copyTo

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

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.


endElement

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

For internal use only.


get

public IConditionFormula get(java.lang.Object key)
Deprecated. 


hasContent

public boolean hasContent(java.lang.Object objFormulas)

put

public void put(java.lang.Object key,
                IConditionFormula newFormula)
Deprecated. 


save

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

For internal use only.

Throws:
java.io.IOException

save

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

For internal use only.

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)

For internal use only.