|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.eindex.ejb.query.ObjectNodeAssembler
The ObjectNodeAssembler class creates an object node (class ObjectNode) hierarchy. This is a generic object node assembler and can be used to create any kind of ObjectNode structure.
Constructor Summary | |
ObjectNodeAssembler()
Creates a new instance of the ObjectNodeAssembler class. |
Method Summary | |
java.lang.Object |
createObjectAttributes(java.lang.Object rootObject,
java.lang.Object parent,
java.lang.String objectName,
AttributesData attrsData)
Creates an object containing the attributes of the object nodes in the hierarchy (other than the root object). |
java.lang.Object |
createRoot(java.lang.String objectName,
AttributesData attrsData)
Creates the root object for each object. |
void |
init()
Initializes the resources to be used by ObjectNodeAssembler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectNodeAssembler()
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 (this
may be the same as the root object).objectName
- The name of the object to be created, as defined in the
Object Definition configuration file of the eView Project.attrsData
- The attribute data associated with the object.
Object
- An object containing the attributes.
VOAException
- Thrown if an error occurs while creating
the object attributes.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 data associated with the root object.
Object
- A new root object (class ObjectNode).
VOAException
- Thrown if an error occurs while creating
the root object.public void init()
void
- None.
init
in interface ResultObjectAssembler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.