IDResolver can be subclassed to allow customization of the ID/IDREF processing of Unmarshaller. A custom IDResolver can be specified on the Unmarshaller as follows:
IDResolver customResolver = new MyIDResolver();
unmarshaller.setIDResolver(customResolver);
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public abstract void | |
| public void | |
| public abstract Callable | |
| public abstract Callable | |
| public void | startDocument(ErrorHandler
Any errors encountered during the unmarshal process should be reported to this handler. errorHandler)Called when unmarshalling begins. |
| IDResolver | back to summary |
|---|---|
| protected IDResolver() Default constructor. | |
| bind | back to summary |
|---|---|
| public abstract void bind(Object id, Object obj) throws SAXException
Bind the object | |
| bind | back to summary |
|---|---|
| public abstract void bind(Map<String, Object> id, Object obj) throws SAXException
Bind the object | |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws SAXException Called when unmarshalling ends. | |
| resolve | back to summary |
|---|---|
| public abstract Callable
Resolve the object of Class | |
| resolve | back to summary |
|---|---|
| public abstract Callable
Resolve the object of Class | |
| startDocument | back to summary |
|---|---|
| public void startDocument(ErrorHandler errorHandler) throws SAXException Called when unmarshalling begins.
| |