org.exolab.castor.xml
Class IDResolverImpl
java.lang.Object
org.exolab.castor.xml.IDResolverImpl
- IDResolver
(package private) class IDResolverImpl
extends java.lang.Object
Default
IDResolver
for Castor XML during (un)marshaling.
(package private) void | bind(String id, Object object, boolean isValidating) - Binds a mapping from an ID to the referenced target object.
|
Object | resolve(String idref) - Returns the Object whose id matches the given IDREF, or 'null' if no
object was found.
|
(package private) void | setResolver(IDResolver idResolver) - Sets a custom IDResolver instance to be used for IDRef resolution.
|
bind
(package private) void bind(String id,
Object object,
boolean isValidating)
throws ValidationException
Binds a mapping from an ID to the referenced target object.
id
- Object identifierobject
- Object being identified by ID
resolve
public Object resolve(String idref)
Returns the Object whose id matches the given IDREF, or 'null' if no
object was found.
- resolve in interface IDResolver
idref
- the IDREF to resolve.
- the Object whose id matches the given IDREF.
setResolver
(package private) void setResolver(IDResolver idResolver)
Sets a custom IDResolver instance to be used for IDRef resolution.
idResolver
- a custom IDResolver instance to be used.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com