/* */ public void startElement(UnmarshallingContext.State state, TagName ea) throws SAXException { /* 59 */ JaxBeanInfo beanInfo = parseXsiType(state, ea, this.defaultBeanInfo); /* 60 */ if (beanInfo == null) { /* 61 */ beanInfo = this.defaultBeanInfo; /* */ } /* 63 */ Loader loader = beanInfo.getLoader(null, false); /* 64 */ state.loader = loader; /* 65 */ loader.startElement(state, ea); /* */ }
public void childElement(UnmarshallingContext.State state, TagName ea) throws SAXException { state.loader = this; State s = (State) state.prev.target; s.depth++; state.target = s; }
/** * 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.loader = Discarder.INSTANCE; state.receiver = null; }