org.exolab.castor.xml
Class UnmarshalHandler.IDResolverImpl

java.lang.Object
  extended byorg.exolab.castor.xml.UnmarshalHandler.IDResolverImpl
All Implemented Interfaces:
IDResolver
Enclosing class:
UnmarshalHandler

class UnmarshalHandler.IDResolverImpl
extends java.lang.Object
implements IDResolver

Local IDResolver


Constructor Summary
(package private) UnmarshalHandler.IDResolverImpl()
           
 
Method Summary
(package private)  void bind(java.lang.String id, java.lang.Object obj)
           
 java.lang.Object resolve(java.lang.String idref)
          Returns the Object whose id matches the given IDREF, or null if no Object was found.
(package private)  void setResolver(IDResolver idResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshalHandler.IDResolverImpl

UnmarshalHandler.IDResolverImpl()
Method Detail

bind

void bind(java.lang.String id,
          java.lang.Object obj)

resolve

public java.lang.Object resolve(java.lang.String idref)
Returns the Object whose id matches the given IDREF, or null if no Object was found.

Specified by:
resolve in interface IDResolver
Parameters:
idref - the IDREF to resolve.
Returns:
the Object whose id matches the given IDREF.

setResolver

void setResolver(IDResolver idResolver)


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com