@Override public void text(CharSequence pcdata) throws SAXException { pushCoordinator(); try { if (current.elementDefaultValue != null) { if (pcdata.length() == 0) { // send the default value into the unmarshaller instead pcdata = current.elementDefaultValue; } } current.loader.text(current, pcdata); } finally { popCoordinator(); } }
@Override public void startElement(TagName tagName) throws SAXException { pushCoordinator(); try { _startElement(tagName); } finally { popCoordinator(); } }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
/** * Allows to access attributes which are expected in current state. * Useful for getting attributes for current parent. * * @return */ public Collection<QName> getCurrentExpectedAttributes() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedAttributes() : null; } finally { popCoordinator(); } }
private @NotNull InMemory adaptU(Unmarshaller _u, OnWire v) throws JAXBException { UnmarshallerImpl u = (UnmarshallerImpl) _u; XmlAdapter<OnWire,InMemory> a = u.coordinator.getAdapter(adapter); u.coordinator.pushCoordinator(); try { return a.unmarshal(v); } catch (Exception e) { throw new UnmarshalException(e); } finally { u.coordinator.popCoordinator(); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }
@Override public void startElement(TagName tagName) throws SAXException { pushCoordinator(); try { _startElement(tagName); } finally { popCoordinator(); } }
@Override public void text(CharSequence pcdata) throws SAXException { pushCoordinator(); try { if (current.elementDefaultValue != null) { if (pcdata.length() == 0) { // send the default value into the unmarshaller instead pcdata = current.elementDefaultValue; } } current.loader.text(current, pcdata); } finally { popCoordinator(); } }
/** * Allows to access attributes which are expected in current state. * Useful for getting attributes for current parent. * * @return */ public Collection<QName> getCurrentExpectedAttributes() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedAttributes() : null; } finally { popCoordinator(); } }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
private @NotNull InMemory adaptU(Unmarshaller _u, OnWire v) throws JAXBException { UnmarshallerImpl u = (UnmarshallerImpl) _u; XmlAdapter<OnWire,InMemory> a = u.coordinator.getAdapter(adapter); u.coordinator.pushCoordinator(); try { return a.unmarshal(v); } catch (Exception e) { throw new UnmarshalException(e); } finally { u.coordinator.popCoordinator(); } }
@Override public final void endElement(TagName tagName) throws SAXException { pushCoordinator(); try { State child = current; // tell the child that your time is up child.loader.leaveElement(child,tagName); // child.pop will erase them so store them now Object target = child.target; Receiver recv = child.receiver; Intercepter intercepter = child.intercepter; child.pop(); // then let the parent know if(intercepter!=null) target = intercepter.intercept(current,target); if(recv!=null) recv.receive(current,target); } finally { popCoordinator(); } }
@Override public void startElement(TagName tagName) throws SAXException { pushCoordinator(); try { _startElement(tagName); } finally { popCoordinator(); } }
@Override public void text(CharSequence pcdata) throws SAXException { pushCoordinator(); try { if (current.elementDefaultValue != null) { if (pcdata.length() == 0) { // send the default value into the unmarshaller instead pcdata = current.elementDefaultValue; } } current.loader.text(current, pcdata); } finally { popCoordinator(); } }
@Override public void startElement(TagName tagName) throws SAXException { pushCoordinator(); try { _startElement(tagName); } finally { popCoordinator(); } }
@Override public void text(CharSequence pcdata) throws SAXException { pushCoordinator(); try { if (current.elementDefaultValue != null) { if (pcdata.length() == 0) { // send the default value into the unmarshaller instead pcdata = current.elementDefaultValue; } } current.loader.text(current, pcdata); } finally { popCoordinator(); } }
/** * Allows to access attributes which are expected in current state. * Useful for getting attributes for current parent. * * @return */ public Collection<QName> getCurrentExpectedAttributes() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedAttributes() : null; } finally { popCoordinator(); } }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
private @NotNull InMemory adaptU(Unmarshaller _u, OnWire v) throws JAXBException { UnmarshallerImpl u = (UnmarshallerImpl) _u; XmlAdapter<OnWire,InMemory> a = u.coordinator.getAdapter(adapter); u.coordinator.pushCoordinator(); try { return a.unmarshal(v); } catch (Exception e) { throw new UnmarshalException(e); } finally { u.coordinator.popCoordinator(); } }
private @NotNull InMemory adaptU(Unmarshaller _u, OnWire v) throws JAXBException { UnmarshallerImpl u = (UnmarshallerImpl) _u; XmlAdapter<OnWire,InMemory> a = u.coordinator.getAdapter(adapter); u.coordinator.pushCoordinator(); try { return a.unmarshal(v); } catch (Exception e) { throw new UnmarshalException(e); } finally { u.coordinator.popCoordinator(); } }