|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2001 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.api.xmi; import javax.jmi.reflect.RefObject; /** Implementation of this interface can be passed to XMI producers/writers * (using {@link XMIOutputConfig#setReferenceProvider} 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 {@link #getReference} 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). * * @author Martin Matula */ public interface XMIReferenceProvider { /** Method called by XMI producer for each object that is serialized or * referenced from the generated XMI document. If the returned reference * points to the same document as being written, xmi.id part of the returned * reference will be used * and wherever the element is referenced, simple xmi.idref * with this xmi.id will be generated. If the returned reference * points to a different file, href will be generated. * Format of the generated href should be result of the following: * |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.