|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eocontrol.EOCustomObject
com.webobjects.eocontrol.EOGenericRecord
com.cassinidivision.oce.content.base._C_Content
com.cassinidivision.oce.content.C_Content
com.cassinidivision.oce.content.base._C_LeafContent
com.cassinidivision.oce.content.C_LeafContent
com.cassinidivision.oce.content.base._C_Image
com.cassinidivision.oce.content.C_Image
A class storing information about given images.
| Nested Class Summary |
| Nested classes inherited from class com.webobjects.eocontrol.EOGenericRecord |
EOGenericRecord._DictionaryBinding, EOGenericRecord._LazyDictionaryBinding |
| Nested classes inherited from class com.webobjects.eocontrol.EOCustomObject |
EOCustomObject._BooleanFieldBinding, EOCustomObject._FieldBinding, EOCustomObject._LazyFieldBinding, EOCustomObject._NumberFieldBinding |
| Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCodingAdditions |
EOKeyValueCodingAdditions.DefaultImplementation, EOKeyValueCodingAdditions.Utility |
| Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueCoding |
EOKeyValueCoding._BestBindingCreation, EOKeyValueCoding._KeyBindingCreation, EOKeyValueCoding._StoredForwardingBinding |
| Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Nested classes inherited from class com.webobjects.eocontrol._EOPrivateMemento |
_EOPrivateMemento.DefaultImplementation |
| Field Summary | |
static String |
CImageNoAlignment
|
| Fields inherited from class com.webobjects.eocontrol.EOGenericRecord |
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_KeyPathSeparatorChar, KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
| Constructor Summary | |
C_Image()
|
|
| Method Summary | |
void |
appendExportXMLForPropertiesToString(StringBuffer returnString)
Called during XML export to append XML corresponding to the receiver's properties (children) to the given string. |
void |
awakeFromInsertion(EOEditingContext ec)
All newly-created content in the OCE system is immediately instantiated with the following values. |
C_Content |
copyIntoEC(EOEditingContext ec)
Make a copy of the receiver into the given editing context. |
String |
defaultXMLRepresentation()
Retrieves the default XML representation of the receiving content. |
StringBuffer |
exportXMLForAttributes()
Called during XML export: builds a StringBuffer holding all the attribute name="value" pairs for the receiver's XML. |
void |
setStringCaption(String value)
Set the image caption from a string value. |
String |
stringCaption()
Retrieve a caption for an image as a string value. |
void |
takeAttributesFromDictionary(NSDictionary pList)
Sets up the receiver's instance variables from given values. |
| Methods inherited from class com.cassinidivision.oce.content.base._C_Image |
alignment, caption, height, setAlignment, setCaption, setHeight, setUrl, setWidth, url, width |
| Methods inherited from class com.cassinidivision.oce.content.base._C_Content |
addToXmlAttributes, className, creationDate, modificationDate, name, parent, removeFromXmlAttributes, setClassName, setCreationDate, setModificationDate, setName, setParent, setXmlAttributes, setXmlLabel, xmlAttributes, xmlLabel |
| Methods inherited from class com.webobjects.eocontrol.EOGenericRecord |
__setClassDescription, _keyGetBindingForKey, _keySetBindingForKey, _otherStorageBinding, _storedKeyGetBindingForKey, _storedKeySetBindingForKey, classDescription, usesDeferredFaultCreation |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String CImageNoAlignment
| Constructor Detail |
public C_Image()
| Method Detail |
public void awakeFromInsertion(EOEditingContext ec)
C_Content
awakeFromInsertion in interface EOEnterpriseObjectawakeFromInsertion in class C_ContentEOEnterpriseObject.awakeFromInsertion(com.webobjects.eocontrol.EOEditingContext)public C_Content copyIntoEC(EOEditingContext ec)
C_ContentDoes not copy XML attributes attached to the receiver, and does not copy the content ID or creation/modification dates, so a new copy will have a new identifier and timestamps.
copyIntoEC in class C_Contentec - The editing context with which to create the copy.
public void appendExportXMLForPropertiesToString(StringBuffer returnString)
C_ContentThe base implementation does nothing (there are no children, so there cannot be any properties).
appendExportXMLForPropertiesToString in class C_ContentreturnString - A StringBuffer to which the XML will be appended to.public StringBuffer exportXMLForAttributes()
C_Content
exportXMLForAttributes in class C_Contentpublic void takeAttributesFromDictionary(NSDictionary pList)
C_ContentThe values will normally have come from the attributes of an XML start element tag.
takeAttributesFromDictionary in class C_ContentpList - The dictionary of values.public String defaultXMLRepresentation()
C_ContentThe base implementation throws an exception (purely abstract content has no representation).
defaultXMLRepresentation in class C_Contentpublic String stringCaption()
The string returned will be in the original string encoding used when the caption value was last saved to the database.
public void setStringCaption(String value)
The default system string encoding will be used to store the string.
value - string value representing the caption.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||