Class IDResolverWrapper
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.IDResolver
-
- org.eclipse.persistence.oxm.IDResolver
-
- org.eclipse.persistence.jaxb.IDResolver
-
- org.eclipse.persistence.internal.jaxb.IDResolverWrapper
-
public class IDResolverWrapper extends IDResolver
INTERNAL:This class provides an implementation of IDResolver that wraps an IDResolver from the Sun JAXB Implementation.
-
-
Constructor Summary
Constructors Constructor Description IDResolverWrapper(Object sunResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbind(Object id, Object obj)voidbind(Map<String,Object> id, Object obj)voidendDocument()ObjectgetResolver()Callable<?>resolve(Object id, Class targetType)Callable<?>resolve(Map<String,Object> id, Class type)voidstartDocument(jakarta.xml.bind.ValidationEventHandler eventHandler)Called when unmarshalling begins.-
Methods inherited from class org.eclipse.persistence.jaxb.IDResolver
startDocument
-
-
-
-
Constructor Detail
-
IDResolverWrapper
public IDResolverWrapper(Object sunResolver)
-
-
Method Detail
-
bind
public void bind(Object id, Object obj) throws SAXException
- Specified by:
bindin classIDResolver- Throws:
SAXException
-
endDocument
public void endDocument() throws SAXException- Overrides:
endDocumentin classIDResolver- Throws:
SAXException
-
startDocument
public void startDocument(jakarta.xml.bind.ValidationEventHandler eventHandler) throws SAXExceptionDescription copied from class:IDResolverCalled when unmarshalling begins.
- Overrides:
startDocumentin classIDResolver- Parameters:
eventHandler- Any errors encountered during the unmarshal process should be reported to this handler.- Throws:
SAXException
-
resolve
public Callable<?> resolve(Object id, Class targetType) throws SAXException
- Specified by:
resolvein classIDResolver- Throws:
SAXException
-
resolve
public Callable<?> resolve(Map<String,Object> id, Class type) throws SAXException
- Specified by:
resolvein classIDResolver- Throws:
SAXException
-
bind
public void bind(Map<String,Object> id, Object obj) throws SAXException
- Specified by:
bindin classIDResolver- Throws:
SAXException
-
getResolver
public Object getResolver()
-
-