net.sf.mmm.util.xml.base.jaxb
Class IdResolverContext.Resolver

java.lang.Object
  extended by net.sf.mmm.util.xml.base.jaxb.IdResolverContext.Resolver
All Implemented Interfaces:
Callable<Object>
Enclosing class:
IdResolverContext

protected class IdResolverContext.Resolver
extends Object
implements Callable<Object>

This inner class resolves an ID on demand.


Field Summary
private  String id
           
private  boolean resolved
           
private  Class<?> type
           
 
Constructor Summary
IdResolverContext.Resolver(String id, Class<?> type)
          The constructor.
 
Method Summary
 Object call()
          
 boolean isResolved()
          This method determines if this IdResolverContext.Resolver has been resolved successfully.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private final String id
See Also:
call()

type

private final Class<?> type
See Also:
call()

resolved

private boolean resolved
See Also:
isResolved()
Constructor Detail

IdResolverContext.Resolver

public IdResolverContext.Resolver(String id,
                                  Class<?> type)
The constructor.

Parameters:
id - is the ID to resolve.
type - is the expected type of the object to resolve.
Method Detail

call

public Object call()
            throws Exception

Specified by:
call in interface Callable<Object>
Throws:
Exception

isResolved

public boolean isResolved()
This method determines if this IdResolverContext.Resolver has been resolved successfully.

Returns:
true if resolved successfully, false otherwise.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.