Direct Known Subclasses:
IDResolverWrapper

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);

Since:
2.3.3
See Also:
  • Constructor Details

    • IDResolver

      public IDResolver()
  • Method Details

    • startDocument

      public void startDocument(ValidationEventHandler eventHandler) throws SAXException

      Called when unmarshalling begins.

      Parameters:
      eventHandler - Any errors encountered during the unmarshal process should be reported to this handler.
      Throws:
      SAXException
    • startDocument

      public final void startDocument(ErrorHandler errorHandler) throws SAXException
      INTERNAL
      Overrides:
      startDocument in class IDResolver
      Parameters:
      errorHandler - Any errors encountered during the unmarshal process should be reported to this handler.
      Throws:
      SAXException