java.lang.Object
org.eclipse.persistence.internal.oxm.IDResolver
org.eclipse.persistence.oxm.IDResolver
org.eclipse.persistence.jaxb.IDResolver
- Direct Known Subclasses:
IDResolverWrapper
IDResolver can be subclassed to allow customization of the ID/IDREF processing of JAXBUnmarshaller. A custom IDResolver can be specified on the Unmarshaller as follows:
IDResolver customResolver = new MyIDResolver();
jaxbUnmarshaller.setProperty(JAXBContext.ID_RESOLVER, customResolver);
- Since:
- 2.3.3
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
startDocument
(ValidationEventHandler eventHandler) Called when unmarshalling begins.final void
startDocument
(ErrorHandler errorHandler) INTERNALMethods inherited from class org.eclipse.persistence.internal.oxm.IDResolver
bind, bind, endDocument, resolve, resolve
-
Constructor Details
-
IDResolver
public IDResolver()
-
-
Method Details
-
startDocument
Called when unmarshalling begins.
- Parameters:
eventHandler
- Any errors encountered during the unmarshal process should be reported to this handler.- Throws:
SAXException
-
startDocument
INTERNAL- Overrides:
startDocument
in classIDResolver
- Parameters:
errorHandler
- Any errors encountered during the unmarshal process should be reported to this handler.- Throws:
SAXException
-