Module org.eclipse.persistence.moxy
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
INTERNAL:
This class provides an implementation of IDResolver that wraps an IDResolver from the Sun JAXB Implementation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Bind the objectobj
to the identifierid
.void
Bind the objectobj
to the composite key information specified in theid
Map.void
Called when unmarshalling ends.Callable
<?> Resolve the object of Classtype
, uniquely identified byid
.Callable
<?> Resolve the object of Classtype
, uniquely identified by the composite key information specified in theid
Map.void
startDocument
(ValidationEventHandler eventHandler) Called when unmarshalling begins.Methods inherited from class org.eclipse.persistence.jaxb.IDResolver
startDocument
-
Constructor Details
-
IDResolverWrapper
-
-
Method Details
-
bind
Description copied from class:IDResolver
Bind the object
obj
to the identifierid
.- Specified by:
bind
in classIDResolver
- Parameters:
id
- The idObject
that uniquely identifies the object to be bound.obj
- The object that will be bound to this id.- Throws:
SAXException
-
endDocument
Description copied from class:IDResolver
Called when unmarshalling ends.
- Overrides:
endDocument
in classIDResolver
- Throws:
SAXException
-
startDocument
Description copied from class:IDResolver
Called when unmarshalling begins.
- Overrides:
startDocument
in classIDResolver
- Parameters:
eventHandler
- Any errors encountered during the unmarshal process should be reported to this handler.- Throws:
SAXException
-
resolve
Description copied from class:IDResolver
Resolve the object of Class
type
, uniquely identified byid
.- Specified by:
resolve
in classIDResolver
- Parameters:
id
- TheObject
that uniquely identifies the object to be found.targetType
- TheClass
of the object to be found.- Returns:
- a
Callable
that will return the resolved object. - Throws:
SAXException
-
resolve
Description copied from class:IDResolver
Resolve the object of Class
type
, uniquely identified by the composite key information specified in theid
Map.- Specified by:
resolve
in classIDResolver
- Parameters:
id
- AMap
of id values, keyed on the attribute name.type
- TheClass
of the object to be found.- Returns:
- a
Callable
that will return the resolved object. - Throws:
SAXException
-
bind
Description copied from class:IDResolver
Bind the object
obj
to the composite key information specified in theid
Map.- Specified by:
bind
in classIDResolver
- Parameters:
id
- AMap
of id values, keyed on attribute name.obj
- The object that will be bound to this id.- Throws:
SAXException
-
getResolver
-