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);
JAXBUnmarshaller| Constructor and Description |
|---|
IDResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
startDocument(org.xml.sax.ErrorHandler errorHandler)
INTERNAL
|
void |
startDocument(javax.xml.bind.ValidationEventHandler eventHandler)
Called when unmarshalling begins.
|
bind, bind, endDocument, resolve, resolve
public void startDocument(javax.xml.bind.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 IDResolvererrorHandler - Any errors encountered during the unmarshal process should be reported to this handler.org.xml.sax.SAXException