|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.oxm.IDResolver
org.eclipse.persistence.jaxb.IDResolver
public abstract class 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);
JAXBUnmarshaller
Constructor Summary | |
---|---|
IDResolver()
|
Method Summary | |
---|---|
void |
startDocument(org.xml.sax.ErrorHandler errorHandler)
INTERNAL |
void |
startDocument(ValidationEventHandler eventHandler)
Called when unmarshalling begins. |
Methods inherited from class org.eclipse.persistence.oxm.IDResolver |
---|
bind, bind, endDocument, resolve, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDResolver()
Method Detail |
---|
public void startDocument(ValidationEventHandler eventHandler) throws org.xml.sax.SAXException
Called when unmarshalling begins.
eventHandler
- Any errors encountered during the unmarshal process should be reported to this handler.
org.xml.sax.SAXException
public final void startDocument(org.xml.sax.ErrorHandler errorHandler) throws org.xml.sax.SAXException
startDocument
in class IDResolver
errorHandler
- Any errors encountered during the unmarshal process should be reported to this handler.
org.xml.sax.SAXException
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |