|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.FieldFormat
public class FieldFormat
This object enables you to specify the format of the field, including the date and time format, the
numeric format, the string format, and so on. When possible, use the IFieldFormat interface
to manipulate this object.
| Constructor Summary | |
|---|---|
FieldFormat()
|
|
FieldFormat(IFieldFormat src)
|
|
| Method Summary | |
|---|---|
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. |
IBooleanFieldFormat |
getBooleanFormat()
Returns the boolean format for the field if the field is a boolean field. |
ICommonFieldFormat |
getCommonFormat()
Returns the common format for the field. |
IDateFieldFormat |
getDateFormat()
Returns the date format for the field if the field is a date or DateTime field. |
IDateTimeFieldFormat |
getDateTimeFormat()
Returns the DateTime format for the field if the field is a DateTime field. |
INumericFieldFormat |
getNumericFormat()
Returns the numeric format for the field if the field is a numeric field. |
IStringFieldFormat |
getStringFormat()
Returns the string format for the field if the field is a String field. |
ITimeFieldFormat |
getTimeFormat()
Returns the time format for the field if the field is a time or DateTime field. |
boolean |
hasContent(java.lang.Object srcFieldFormat)
|
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 |
setBooleanFormat(IBooleanFieldFormat booleanFormat)
Sets the boolean format for the field if the field is a boolean field. |
void |
setCommonFormat(ICommonFieldFormat commonFormat)
Sets the common format for the field. |
void |
setDateFormat(IDateFieldFormat dateFormat)
Sets the date format for the field if the field is a date or DateTime field. |
void |
setDateTimeFormat(IDateTimeFieldFormat dateTimeFormat)
Sets the DateTime format for the field if the field is a DateTime field. |
void |
setNumericFormat(INumericFieldFormat numericFormat)
Sets the numeric format for the field if the field is a numeric field. |
void |
setStringFormat(IStringFieldFormat stringFormat)
Sets the string format for the field if the field is a String field. |
void |
setTimeFormat(ITimeFieldFormat timeFormat)
Sets the time format for the field if the field is a time or DateTime field. |
boolean |
skipWritingIdenticalObject()
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 java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FieldFormat(IFieldFormat src)
public FieldFormat()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
public void endElement(java.lang.String eleName,
java.util.Map objState)
public IBooleanFieldFormat getBooleanFormat()
IFieldFormat
Returns the boolean format for the field if the field is a boolean field.
getBooleanFormat in interface IFieldFormatIBooleanFieldFormat object that specifies the boolean format
for the field.public ICommonFieldFormat getCommonFormat()
IFieldFormatReturns the common format for the field. (Applies to any field value type.)
getCommonFormat in interface IFieldFormatICommonFieldFormat object that specifies the common format for the field.public IDateFieldFormat getDateFormat()
IFieldFormat
Returns the date format for the field if the field is a date or DateTime field.
getDateFormat in interface IFieldFormatIDateFieldFormat object that specifies the date format for the field.public IDateTimeFieldFormat getDateTimeFormat()
IFieldFormat
Returns the DateTime format for the field if the field is a DateTime field.
getDateTimeFormat in interface IFieldFormatIDateTimeFieldFormat object that specifies the DateTime format for the field.public INumericFieldFormat getNumericFormat()
IFieldFormatReturns the numeric format for the field if the field is a numeric field.
getNumericFormat in interface IFieldFormatINumericFieldFormat object that specifies the numeric format for the field.public IStringFieldFormat getStringFormat()
IFieldFormat
Returns the string format for the field if the field is a String field.
getStringFormat in interface IFieldFormatIStringFieldFormat object that specifies the string format for the field.public ITimeFieldFormat getTimeFormat()
IFieldFormat
Returns the time format for the field if the field is a time or DateTime field.
getTimeFormat in interface IFieldFormatITimeFieldFormat object that specifies the time format for the field.public boolean hasContent(java.lang.Object srcFieldFormat)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOExceptionpublic void setBooleanFormat(IBooleanFieldFormat booleanFormat)
IFieldFormat
Sets the boolean format for the field if the field is a boolean field.
setBooleanFormat in interface IFieldFormatbooleanFormat - An IBooleanFieldFormat object that specifies the boolean
format for the field.public void setCommonFormat(ICommonFieldFormat commonFormat)
IFieldFormatSets the common format for the field. (Applies to any field value type.)
setCommonFormat in interface IFieldFormatcommonFormat - An ICommonFieldFormat object that specifies the common format for the
field.public void setDateFormat(IDateFieldFormat dateFormat)
IFieldFormat
Sets the date format for the field if the field is a date or DateTime field.
setDateFormat in interface IFieldFormatdateFormat - An IDateFieldFormat object that specifies the date format for the field.public void setDateTimeFormat(IDateTimeFieldFormat dateTimeFormat)
IFieldFormat
Sets the DateTime format for the field if the field is a DateTime field.
setDateTimeFormat in interface IFieldFormatdateTimeFormat - An IDateTimeFieldFormat object that specifies the DateTime format for the field.public void setNumericFormat(INumericFieldFormat numericFormat)
IFieldFormatSets the numeric format for the field if the field is a numeric field.
setNumericFormat in interface IFieldFormatnumericFormat - An INumericFieldFormat object that specifies
the numeric format for the field.public void setStringFormat(IStringFieldFormat stringFormat)
IFieldFormat
Sets the string format for the field if the field is a String field.
setStringFormat in interface IFieldFormatstringFormat - An IStringFieldFormat object that specifies the string format for the field.public void setTimeFormat(ITimeFieldFormat timeFormat)
IFieldFormat
Sets the time format for the field if the field is a time or DateTime field.
setTimeFormat in interface IFieldFormattimeFormat - An ITimeFieldFormat object that specifies the time format for the field.public boolean skipWritingIdenticalObject()
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||