|
|||||||||||
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.XMLDummyObject
This class represents a null content placeholder, for use during XML imports.
When imported content clashes with existing content and the decision is made to skip it, a XMLDummyObject is created and put on the import stack. This then creates new dummy objects for new child tags, so that the nesting is supported correctly. When the tag which was being ignored finally ends, the last dummy object will come off the stack and importing will continue.
This has been declared a subclass of C_Content only for the convenience of the import code; ideally this should be replaced by an interface for imported objects.
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 |
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 | |
XMLDummyObject()
|
Method Summary | |
void |
addCharacterData(String value)
Handles character data (by ignoring it). |
boolean |
endElement(String element)
Handles an end tag, by returning true to be removed from the stack. |
C_Content |
startElementWithAttributes(String element,
NSDictionary attributes)
Handles a start tag, by creating a new dummy object for the stack. |
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 |
Constructor Detail |
public XMLDummyObject()
Method Detail |
public C_Content startElementWithAttributes(String element, NSDictionary attributes)
startElementWithAttributes
in class C_Content
element
- The name of the start tag found.attributes
- A dictionary of the attribute keys and values in the start tag.C_Content.startElementWithAttributes(java.lang.String, com.webobjects.foundation.NSDictionary)
public boolean endElement(String element)
endElement
in class C_Content
element
- The name of the ending tag.
C_Content.endElement(java.lang.String)
public void addCharacterData(String value)
addCharacterData
in class C_Content
value
- The character data which has been parsed.C_Content.addCharacterData(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |