public class IDResolverWrapper extends IDResolver
This class provides an implementation of IDResolver that wraps an IDResolver from the Sun JAXB Implementation.
| Constructor and Description |
|---|
IDResolverWrapper(java.lang.Object sunResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.util.Map<java.lang.String,java.lang.Object> id,
java.lang.Object obj)
Bind the object obj to the composite key information specified in the id Map.
|
void |
bind(java.lang.Object id,
java.lang.Object obj)
Bind the object obj to the identifier id.
|
void |
endDocument()
Called when unmarshalling ends.
|
java.lang.Object |
getResolver() |
java.util.concurrent.Callable<?> |
resolve(java.util.Map<java.lang.String,java.lang.Object> id,
java.lang.Class type)
Resolve the object of Class type, uniquely identified by the composite key information specified in the id Map.
|
java.util.concurrent.Callable<?> |
resolve(java.lang.Object id,
java.lang.Class targetType)
Resolve the object of Class type, uniquely identified by id.
|
void |
startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
Called when unmarshalling begins.
|
startDocumentpublic void bind(java.lang.Object id,
java.lang.Object obj)
throws org.xml.sax.SAXException
IDResolverBind the object obj to the identifier id.
bind in class IDResolverid - The id Object that uniquely identifies the object to be bound.obj - The object that will be bound to this id.org.xml.sax.SAXExceptionpublic void endDocument()
throws org.xml.sax.SAXException
IDResolverCalled when unmarshalling ends.
endDocument in class IDResolverorg.xml.sax.SAXExceptionpublic void startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
throws org.xml.sax.SAXException
IDResolverCalled when unmarshalling begins.
startDocument in class IDResolvereventHandler - Any errors encountered during the unmarshal process should be reported to this handler.org.xml.sax.SAXExceptionpublic java.util.concurrent.Callable<?> resolve(java.lang.Object id,
java.lang.Class targetType)
throws org.xml.sax.SAXException
IDResolverResolve the object of Class type, uniquely identified by id.
resolve in class IDResolverid - The Object that uniquely identifies the object to be found.targetType - The Class of the object to be found.org.xml.sax.SAXExceptionpublic java.util.concurrent.Callable<?> resolve(java.util.Map<java.lang.String,java.lang.Object> id,
java.lang.Class type)
throws org.xml.sax.SAXException
IDResolverResolve the object of Class type, uniquely identified by the composite key information specified in the id Map.
resolve in class IDResolverid - A Map of id values, keyed on the attribute name.type - The Class of the object to be found.org.xml.sax.SAXExceptionpublic void bind(java.util.Map<java.lang.String,java.lang.Object> id,
java.lang.Object obj)
throws org.xml.sax.SAXException
IDResolverBind the object obj to the composite key information specified in the id Map.
bind in class IDResolverid - A Map of id values, keyed on attribute name.obj - The object that will be bound to this id.org.xml.sax.SAXExceptionpublic java.lang.Object getResolver()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference