net.sf.mmm.util.xml.base.jaxb
Class IdResolverContext.Resolver
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private final String id
- See Also:
call()
type
private final Class<?> type
- See Also:
call()
resolved
private boolean resolved
- See Also:
isResolved()
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.
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.