Community
Participate
Working Groups
The Sun JAXB implementation includes the concept of an IDResolver, which allows users to override the ID/IDREF processing of the JAXB runtime, IDResolver is an interface for the user to implement, containing the following methods: public abstract Callable<?> resolve(String id, Class targetType) public abstract void bind(String id, Object obj) public void startDocument(ValidationEventHandler eventHandler) public void endDocument() throws SAXException Implementations of this interface are used by the Unmarshaller to resolve and bind IDs.
Design documemt: http://wiki.eclipse.org/EclipseLink/Development/360249
Created attachment 205369 [details] Prototype
Created attachment 205753 [details] Prototype
Created attachment 206029 [details] Patch - code changes
Created attachment 206030 [details] Patch - test changes
Created attachment 206229 [details] Patch - code changes
Created attachment 206230 [details] Patch - test changes
Created attachment 206286 [details] Patch - test changes
Created attachment 206287 [details] Patch - code changes
Created attachment 206360 [details] Patch - test changes
Created attachment 206361 [details] Patch - code changes
Created attachment 206364 [details] Patch - test changes
Created attachment 206365 [details] Patch - code changes
Completed, reviewed by bdoughan.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink