|
org.netbeans.api.mdr/1 1.4.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMIReferenceProvider
Implementation of this interface can be passed to XMI producers/writers
(using XMIOutputConfig.setReferenceProvider(org.netbeans.api.xmi.XMIReferenceProvider)
method) to enable custom controling of
target documents the written object should go into and what XMI ID they should use.
If an XMI producer supports this property, it will call getReference(javax.jmi.reflect.RefObject)
method for each
RefObject to be written into the document and either use the XMI ID returned (if
the object should reside in the same document) or serialize only a href to the
object (if it resides in a different XMI document).
Nested Class Summary | |
---|---|
static class |
XMIReferenceProvider.XMIReference
Simple structure for representing XMI references to elements corresponding to an object. |
Method Summary | |
---|---|
XMIReferenceProvider.XMIReference |
getReference(javax.jmi.reflect.RefObject object)
Method called by XMI producer for each object that is serialized or referenced from the generated XMI document. |
Method Detail |
---|
XMIReferenceProvider.XMIReference getReference(javax.jmi.reflect.RefObject object)
getDocumentURI() + "#" + getXmiId()
object
- Object to be serialized (or referenced).
|
org.netbeans.api.mdr/1 1.4.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |