/** * Called when this loaderis an active loaderand we see a new child start tag. * * <p> * The callee is expected to designate another loaderas a loaderthat processes * this element, then it should also register a {@link Receiver}. * The designated loaderwill become an active loader. * * <p> * The default implementation reports an error saying an element is unexpected. */ public void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException { // notify the error, then recover by ignoring the whole element. reportUnexpectedChildElement(ea, true); state.setLoader(Discarder.INSTANCE); state.setReceiver(null); }
/** * Called when this loaderis an active loaderand we see a new child start tag. * * <p> * The callee is expected to designate another loaderas a loaderthat processes * this element, then it should also register a {@link Receiver}. * The designated loaderwill become an active loader. * * <p> * The default implementation reports an error saying an element is unexpected. */ public void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException { // notify the error, then recover by ignoring the whole element. reportUnexpectedChildElement(ea, true); state.setLoader(Discarder.INSTANCE); state.setReceiver(null); }
/** * Called when this loaderis an active loaderand we see a new child start tag. * * <p> * The callee is expected to designate another loaderas a loaderthat processes * this element, then it should also register a {@link Receiver}. * The designated loaderwill become an active loader. * * <p> * The default implementation reports an error saying an element is unexpected. */ public void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException { // notify the error, then recover by ignoring the whole element. reportUnexpectedChildElement(ea, true); state.setLoader(Discarder.INSTANCE); state.setReceiver(null); }
/** * Called when this loaderis an active loaderand we see a new child start tag. * * <p> * The callee is expected to designate another loaderas a loaderthat processes * this element, then it should also register a {@link Receiver}. * The designated loaderwill become an active loader. * * <p> * The default implementation reports an error saying an element is unexpected. */ public void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException { // notify the error, then recover by ignoring the whole element. reportUnexpectedChildElement(ea, true); state.setLoader(Discarder.INSTANCE); state.setReceiver(null); }