Class ProxyLoader

    • Constructor Detail

      • ProxyLoader

        public ProxyLoader()
    • Method Detail

      • startElement

        public final void startElement​(UnmarshallingContext.State state,
                                       TagName ea)
                                throws org.xml.sax.SAXException
        Description copied from class: Loader
        Called when the loader is activated, which is when a new start tag is seen and when the parent designated this loader as the child loader.

        The callee may change state.loader to designate another Loader for the processing. It's the responsibility of the callee to forward the startElement event in such a case.

        Overrides:
        startElement in class Loader
        ea - info about the start tag. never null.
        Throws:
        org.xml.sax.SAXException
      • selectLoader

        protected abstract Loader selectLoader​(UnmarshallingContext.State state,
                                               TagName ea)
                                        throws org.xml.sax.SAXException
        Picks the loader to delegate to.
        Returns:
        never null.
        Throws:
        org.xml.sax.SAXException