|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.query.EOObjectNodeAssembler
The EOObjectNodeAssembler class creates an object node (class ObjectNode) hierarchy for EO and their sub-objects. This class is different than a regular ObjectNodeAssembler because EO, SO and SBR classes require specical handling different than regular ObjectNodes. Client: EORetriever
EORetriever
Constructor Summary | |
EOObjectNodeAssembler()
Creates a new instance of the ResultObjectAssembler class. |
Method Summary | |
java.lang.Object |
createObjectAttributes(java.lang.Object rootObject,
java.lang.Object parent,
java.lang.String objectName,
AttributesData attrsData)
Creates the attributes of the object nodes in the hierarchy. |
java.lang.Object |
createRoot(java.lang.String objectName,
AttributesData attrsData)
Creates each root object. |
void |
init()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EOObjectNodeAssembler()
Method Detail |
public java.lang.Object createObjectAttributes(java.lang.Object rootObject, java.lang.Object parent, java.lang.String objectName, AttributesData attrsData) throws VOAException
createObjectAttributes
in interface ResultObjectAssembler
rootObject
- The root object created previously by the
createRoot method.parent
- The parent object for the new object to be created.objectName
- The name of the object to be created.attrsData
- The attribute values.
Object
- A new ObjectNode object.
VOAException
- Thrown if an error occurs while creating
the attribute data.public java.lang.Object createRoot(java.lang.String objectName, AttributesData attrsData) throws VOAException
createRoot
in interface ResultObjectAssembler
objectName
- The name of the root object to be created.attrsData
- The attribute values.
Object
- A new root object (class ObjectNode).
VOAException
- Thrown if an error occurs while creating
the root object.public void init()
ResultObjectAssembler
void
- None.
init
in interface ResultObjectAssembler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.