|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.model.XMLDataNode.DataCastPacket
protected static final class XMLDataNode.DataCastPacket
The DataCastPacket class is a data class that is helpful for reducing the number of type-cast operations that need to occur. This is done by replacing the type-cast check with a check for null at the expense of keeping around more references in memory to the object in question.
This kind of strategy works well for objects that are frequently cast to a particular type. Once it has been created, this class is an immutable (read-only) data structure.
| Field Summary | |
|---|---|
Dirtyable |
dirtyableThe Dirtyable view of the data object. |
Element |
elementThe Element view of the data object. |
Folder |
folderThe Folder view of the data object. |
java.lang.Object |
objectThe Object view of the data object. |
| Constructor Summary | |
|---|---|
XMLDataNode.DataCastPacket(java.lang.Object obj)Creates a new instance of DataCastPacket and initializes all of its fields. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.Object object
Object view of the data object.public final Element element
Element view of the data object. If the object is not an Element, then this field's value is null.public final Dirtyable dirtyable
Dirtyable view of the data object. If the object is not a Dirtyable, then this field's value is null.public final Folder folder
Folder view of the data object. If the object is not a Folder, then this field's value is null.| Constructor Detail |
|---|
public XMLDataNode.DataCastPacket(java.lang.Object obj)
DataCastPacket and initializes all of its fields.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||