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(Object sunResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(Map<String,Object> id,
Object obj) |
void |
bind(Object id,
Object obj) |
void |
endDocument() |
Object |
getResolver() |
Callable<?> |
resolve(Map<String,Object> id,
Class type) |
Callable<?> |
resolve(Object id,
Class targetType) |
void |
startDocument(jakarta.xml.bind.ValidationEventHandler eventHandler)
Called when unmarshalling begins.
|
startDocumentpublic IDResolverWrapper(Object sunResolver)
public void bind(Object id, Object obj) throws SAXException
bind in class IDResolverSAXExceptionpublic void endDocument()
throws SAXException
endDocument in class IDResolverSAXExceptionpublic void startDocument(jakarta.xml.bind.ValidationEventHandler eventHandler)
throws SAXException
IDResolverCalled when unmarshalling begins.
startDocument in class IDResolvereventHandler - Any errors encountered during the unmarshal process should be reported to this handler.SAXExceptionpublic Callable<?> resolve(Object id, Class targetType) throws SAXException
resolve in class IDResolverSAXExceptionpublic Callable<?> resolve(Map<String,Object> id, Class type) throws SAXException
resolve in class IDResolverSAXExceptionpublic void bind(Map<String,Object> id, Object obj) throws SAXException
bind in class IDResolverSAXExceptionpublic Object getResolver()
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.