Package org.eclipse.persistence.jaxb
Class IDResolver
- java.lang.Object
 - 
- org.eclipse.persistence.internal.oxm.IDResolver
 - 
- org.eclipse.persistence.oxm.IDResolver
 - 
- org.eclipse.persistence.jaxb.IDResolver
 
 
 
 
- 
public abstract class IDResolver extends IDResolver
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);- See Also:
 JAXBUnmarshaller- Since:
 - 2.3.3
 
 
- 
- 
Constructor Summary
Constructors Constructor Description IDResolver() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstartDocument(ValidationEventHandler eventHandler)Called when unmarshalling begins.voidstartDocument(org.xml.sax.ErrorHandler errorHandler)INTERNAL 
 - 
 
- 
- 
Method Detail
- 
startDocument
public void startDocument(ValidationEventHandler eventHandler) throws org.xml.sax.SAXException
Called when unmarshalling begins.
- Parameters:
 eventHandler- Any errors encountered during the unmarshal process should be reported to this handler.- Throws:
 org.xml.sax.SAXException
 
- 
startDocument
public final void startDocument(org.xml.sax.ErrorHandler errorHandler) throws org.xml.sax.SAXExceptionINTERNAL- Overrides:
 startDocumentin classorg.eclipse.persistence.internal.oxm.IDResolver- Throws:
 org.xml.sax.SAXException
 
 - 
 
 -